s3:dbwrap_ctdb: fix an uninitialized variable.
authorMichael Adam <obnox@samba.org>
Tue, 5 Jan 2010 15:17:27 +0000 (16:17 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 1 Apr 2010 07:39:15 +0000 (09:39 +0200)
Michael
(cherry picked from commit 1505b69dea6044a13a59f672e22f5833256cb981)
(cherry picked from commit 89cb10de5ec46384c5ae8d558ac29e4f9e00e8a1)

source3/lib/dbwrap_ctdb.c

index d70637ed0bdef9f811a1d8e63bf58cebf356db8e..d6fde3560d5b58ffc182cffcace05f13509e6634 100644 (file)
@@ -381,7 +381,7 @@ static bool pull_newest_from_marshall_buffer(struct ctdb_marshall_buffer *buf,
 {
        struct ctdb_rec_data *rec = NULL;
        struct ctdb_ltdb_header h;
-       bool found;
+       bool found = false;
        TDB_DATA data;
        int i;