summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-08-20 20:24:45 +0200
committerGünther Deschner <gd@samba.org>2008-08-20 22:07:40 +0200
commita77c9285b72a521dfffb22359dfcb5e4ba6a6b49 (patch)
tree5e5e46d713a1465c308247feb6811c5859efdd6d
parentcf710f04644e19add5c954e2a2a9f24ec7148aef (diff)
downloadsamba-a77c9285b72a521dfffb22359dfcb5e4ba6a6b49.tar.gz
samba-a77c9285b72a521dfffb22359dfcb5e4ba6a6b49.tar.bz2
samba-a77c9285b72a521dfffb22359dfcb5e4ba6a6b49.zip
fix another build warning.
Guenther (This used to be commit 43693ce6c678b961fa516bbf502af92f87cd5346)
-rw-r--r--source3/rpc_client/cli_pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index ad2f512647..41dde87c42 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -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);