summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-12-12 00:38:14 +0100
committerKarolin Seeger <kseeger@samba.org>2010-04-01 09:39:15 +0200
commitb4055e8baca43293257aed7291eef951a05ca754 (patch)
treeb16ba876eaf9d8e38e1914ec4c1cb8ca70d06ed8 /source3/lib
parent8d81f930dbf5c076956be844af87d78232ce07ec (diff)
downloadsamba-b4055e8baca43293257aed7291eef951a05ca754.tar.gz
s3:dbwrap_ctdb: fix two "may be used uninitialized" warnings
Michael (cherry picked from commit fb981cdb8282d3b9b46d9ca515a5685add232a72) (cherry picked from commit dfbc45f6d6ef2fb99652992e291b1bf5276dec28)
Diffstat (limited to 'source3/lib')
-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 4c4486c5397..d70637ed0bd 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