summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-01-21 15:51:05 +0100
committerGünther Deschner <gd@samba.org>2011-01-21 16:10:15 +0100
commit1f26b101ed594ed55f9679fe595ddba2ef1ecee0 (patch)
treedafb33b4a857eff066674ebfadff4c399d7833e7
parent5e89574dceb80b170444631bcffdf02fc8f7af76 (diff)
downloadsamba-1f26b101ed594ed55f9679fe595ddba2ef1ecee0.tar.gz
samba-1f26b101ed594ed55f9679fe595ddba2ef1ecee0.tar.bz2
samba-1f26b101ed594ed55f9679fe595ddba2ef1ecee0.zip
s3-rpc_client: fix uninitialized variable found by -O3.
Guenther
-rw-r--r--source3/rpc_client/cli_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index d7320c1df0..f353958b45 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -1688,7 +1688,7 @@ static void rpc_pipe_bind_step_one_done(struct tevent_req *subreq)
struct auth_ntlmssp_state *ntlmssp_ctx;
struct spnego_context *spnego_ctx;
struct gse_context *gse_ctx;
- struct ncacn_packet *pkt;
+ struct ncacn_packet *pkt = NULL;
struct dcerpc_auth auth;
DATA_BLOB auth_token = data_blob_null;
NTSTATUS status;