diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-01-12 21:42:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:50:56 -0500 |
commit | 99125b65109d2e9e1aff61b18ec5f0e73eadb4b5 (patch) | |
tree | d6f7b460269f252830ac681e3b2a8826fb1c62aa /source4 | |
parent | e0f69bf1d379d3026f4528f813adf96163738e58 (diff) | |
download | samba-99125b65109d2e9e1aff61b18ec5f0e73eadb4b5.tar.gz samba-99125b65109d2e9e1aff61b18ec5f0e73eadb4b5.tar.xz samba-99125b65109d2e9e1aff61b18ec5f0e73eadb4b5.zip |
r12873: Fix valgrind-found uninitialised value.
Andrew Bartlett
(This used to be commit 38e8a6477a112faa78e0791d20ce9bd2e68fd619)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libnet/libnet_share.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_share.c b/source4/libnet/libnet_share.c index 0f5a3aeb521..2fbf2c2f442 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; |