summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_vampire.c
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2016-07-26 11:54:07 +1200
committerStefan Metzmacher <metze@samba.org>2016-07-28 10:06:09 +0200
commit88a4d550ff3c8b515862ab9cded9b1f762307ab1 (patch)
tree6c6517c0fca36dea38c9937a9cf15d5bad6f725e /source4/libnet/libnet_vampire.c
parent15e621773d3b49febb4683365d2596b54daba31d (diff)
downloadsamba-88a4d550ff3c8b515862ab9cded9b1f762307ab1.tar.gz
valgrind: Avoid a warning about uninitialized memory
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/libnet/libnet_vampire.c')
-rw-r--r--source4/libnet/libnet_vampire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c
index 0d4d69f7cf2..0186caf0617 100644
--- a/source4/libnet/libnet_vampire.c
+++ b/source4/libnet/libnet_vampire.c
@@ -238,7 +238,7 @@ static NTSTATUS libnet_vampire_cb_apply_schema(struct libnet_vampire_cb_state *s
uint32_t i;
int ret;
bool ok;
- uint64_t seq_num;
+ uint64_t seq_num = 0;
uint32_t cycle_before_switching;
DEBUG(0,("Analyze and apply schema objects\n"));