summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-03 15:55:20 +0200
committerGünther Deschner <gd@samba.org>2010-08-03 15:57:56 +0200
commit64b26affe0afa2999130cdd4f1d521dccd877c9c (patch)
tree07a60a33341a219d03379b9cfb06ba67cf88244c /source3/librpc
parentbf19a5228aa582e35d1447cb918a1f66bfdf8b2d (diff)
downloadsamba-64b26affe0afa2999130cdd4f1d521dccd877c9c.tar.gz
samba-64b26affe0afa2999130cdd4f1d521dccd877c9c.tar.bz2
samba-64b26affe0afa2999130cdd4f1d521dccd877c9c.zip
s3-dcerpc: fix some uninitialized variables build warnings.
Guenther
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/rpc/dcerpc_spnego.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/librpc/rpc/dcerpc_spnego.c b/source3/librpc/rpc/dcerpc_spnego.c
index a0832ce09f..5627a0d7e7 100644
--- a/source3/librpc/rpc/dcerpc_spnego.c
+++ b/source3/librpc/rpc/dcerpc_spnego.c
@@ -68,7 +68,7 @@ NTSTATUS spnego_gssapi_init_client(TALLOC_CTX *mem_ctx,
uint32_t add_gss_c_flags,
struct spnego_context **spnego_ctx)
{
- struct spnego_context *sp_ctx;
+ struct spnego_context *sp_ctx = NULL;
NTSTATUS status;
status = spnego_context_init(mem_ctx,
@@ -97,7 +97,7 @@ NTSTATUS spnego_ntlmssp_init_client(TALLOC_CTX *mem_ctx,
const char *password,
struct spnego_context **spnego_ctx)
{
- struct spnego_context *sp_ctx;
+ struct spnego_context *sp_ctx = NULL;
NTSTATUS status;
status = spnego_context_init(mem_ctx,