s3:dbwrap_ctdb: fix an uninitialized variable.
authorMichael Adam <obnox@samba.org>
Tue, 5 Jan 2010 15:17:27 +0000 (16:17 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 12 Feb 2010 22:12:11 +0000 (23:12 +0100)
Michael

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;
 {
        struct ctdb_rec_data *rec = NULL;
        struct ctdb_ltdb_header h;
-       bool found;
+       bool found = false;
        TDB_DATA data;
        int i;
 
        TDB_DATA data;
        int i;