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 06:46:28 +0000 (08:46 +0200)
Guenther
(cherry picked from commit 43693ce6c678b961fa516bbf502af92f87cd5346)
(cherry picked from commit 2a5ae59f77c05c41c97747dee9bc8c196dfe6b89)

source/rpc_client/cli_pipe.c

index 425eb26cb047c841c39d5393acac4fbc0b589f48..35256d713bd509a28ca35d0da45aabb6e69153fd 100644 (file)
@@ -823,8 +823,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);