summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-12-12 00:38:14 +0100
committerMichael Adam <obnox@samba.org>2010-02-12 23:12:11 +0100
commitfb981cdb8282d3b9b46d9ca515a5685add232a72 (patch)
tree723d1d58ed8f482728318d5865c1d3514bb9b56a /source3
parent10a44ee6930bb51b4b20ce42f35bc455ac1b7293 (diff)
downloadsamba-fb981cdb8282d3b9b46d9ca515a5685add232a72.tar.gz
samba-fb981cdb8282d3b9b46d9ca515a5685add232a72.tar.bz2
samba-fb981cdb8282d3b9b46d9ca515a5685add232a72.zip
s3:dbwrap_ctdb: fix two "may be used uninitialized" warnings
Michael
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/dbwrap_ctdb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/dbwrap_ctdb.c b/source3/lib/dbwrap_ctdb.c
index 4c4486c539..d70637ed0b 100644
--- a/source3/lib/dbwrap_ctdb.c
+++ b/source3/lib/dbwrap_ctdb.c
@@ -389,6 +389,9 @@ static bool pull_newest_from_marshall_buffer(struct ctdb_marshall_buffer *buf,
return false;
}
+ ZERO_STRUCT(h);
+ ZERO_STRUCT(data);
+
/*
* Walk the list of records written during this
* transaction. If we want to read one we have already