From fb981cdb8282d3b9b46d9ca515a5685add232a72 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sat, 12 Dec 2009 00:38:14 +0100 Subject: s3:dbwrap_ctdb: fix two "may be used uninitialized" warnings Michael --- source3/lib/dbwrap_ctdb.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3') 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 -- cgit