diff options
author | Michael Adam <obnox@samba.org> | 2009-12-12 00:38:14 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2010-04-01 09:39:15 +0200 |
commit | b4055e8baca43293257aed7291eef951a05ca754 (patch) | |
tree | b16ba876eaf9d8e38e1914ec4c1cb8ca70d06ed8 | |
parent | 8d81f930dbf5c076956be844af87d78232ce07ec (diff) | |
download | samba-b4055e8baca43293257aed7291eef951a05ca754.tar.gz |
s3:dbwrap_ctdb: fix two "may be used uninitialized" warnings
Michael
(cherry picked from commit fb981cdb8282d3b9b46d9ca515a5685add232a72)
(cherry picked from commit dfbc45f6d6ef2fb99652992e291b1bf5276dec28)
-rw-r--r-- | source3/lib/dbwrap_ctdb.c | 3 |
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 |