From 99125b65109d2e9e1aff61b18ec5f0e73eadb4b5 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 12 Jan 2006 21:42:59 +0000 Subject: r12873: Fix valgrind-found uninitialised value. Andrew Bartlett (This used to be commit 38e8a6477a112faa78e0791d20ce9bd2e68fd619) --- source4/libnet/libnet_share.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') 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; -- cgit