summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-01-12 21:42:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:50:56 -0500
commit99125b65109d2e9e1aff61b18ec5f0e73eadb4b5 (patch)
treed6f7b460269f252830ac681e3b2a8826fb1c62aa
parente0f69bf1d379d3026f4528f813adf96163738e58 (diff)
downloadsamba-99125b65109d2e9e1aff61b18ec5f0e73eadb4b5.tar.gz
samba-99125b65109d2e9e1aff61b18ec5f0e73eadb4b5.tar.bz2
samba-99125b65109d2e9e1aff61b18ec5f0e73eadb4b5.zip
r12873: Fix valgrind-found uninitialised value.
Andrew Bartlett (This used to be commit 38e8a6477a112faa78e0791d20ce9bd2e68fd619)
-rw-r--r--source4/libnet/libnet_share.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_share.c b/source4/libnet/libnet_share.c
index 0f5a3aeb52..2fbf2c2f44 100644
--- a/source4/libnet/libnet_share.c
+++ b/source4/libnet/libnet_share.c
@@ -28,7 +28,7 @@ NTSTATUS libnet_ListShares(struct libnet_context *ctx,
NTSTATUS status;
struct libnet_RpcConnect c;
struct srvsvc_NetShareEnumAll s;
- uint32_t resume_handle;
+ uint32_t resume_handle = 0;
struct srvsvc_NetShareCtr0 ctr0;
struct srvsvc_NetShareCtr1 ctr1;
struct srvsvc_NetShareCtr2 ctr2;