fix another build warning.
authorGünther Deschner <gd@samba.org>
Wed, 20 Aug 2008 18:24:45 +0000 (20:24 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 21 Aug 2008 12:13:04 +0000 (14:13 +0200)
Guenther
(cherry picked from commit 43693ce6c678b961fa516bbf502af92f87cd5346)
(cherry picked from commit 1a85fce6e432bafed98856f22e0736489fa6f1f5)

source/rpc_client/cli_pipe.c

index ad2f512647d33499e2816e56b3ba526a83c402cb..41dde87c4299b8745150b0bec2bb21554fc1a005 100644 (file)
@@ -979,8 +979,8 @@ static NTSTATUS rpc_api_pipe(struct rpc_pipe_client *cli,
 
        while(1) {
                RPC_HDR rhdr;
-               char *ret_data;
-               uint32 ret_data_len;
+               char *ret_data = NULL;
+               uint32 ret_data_len = 0;
 
                /* Ensure we have enough data for a pdu. */
                ret = cli_pipe_get_current_pdu(cli, &rhdr, &current_pdu);