From 4b6cec88ae28952095298fb4b4f720e29b37699b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 8 Apr 2006 02:29:48 +0000 Subject: r14972: fix an uninitialised warning from ibm checker (This used to be commit 9b867d2acffdfdcd5dc1dd5341db19daf11b5e96) --- source4/lib/tdb/common/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/lib/tdb/common/io.c b/source4/lib/tdb/common/io.c index 0a910270c9..f4f866a4c4 100644 --- a/source4/lib/tdb/common/io.c +++ b/source4/lib/tdb/common/io.c @@ -173,7 +173,7 @@ static void tdb_next_hash_chain(struct tdb_context *tdb, u32 *chain) } } } else { - u32 off; + u32 off=0; for (;h < tdb->header.hash_size;h++) { if (tdb_ofs_read(tdb, TDB_HASH_TOP(h), &off) != 0 || off != 0) { break; -- cgit