summaryrefslogtreecommitdiff
path: root/source4/lib/tdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-04-08 02:29:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:00:48 -0500
commit4b6cec88ae28952095298fb4b4f720e29b37699b (patch)
tree99829f985e9b78d0a1f583e21a447218dcdd644d /source4/lib/tdb
parent860a4ed444b72c97e629dab19354c2fdf0517eee (diff)
downloadsamba-4b6cec88ae28952095298fb4b4f720e29b37699b.tar.gz
samba-4b6cec88ae28952095298fb4b4f720e29b37699b.tar.bz2
samba-4b6cec88ae28952095298fb4b4f720e29b37699b.zip
r14972: fix an uninitialised warning from ibm checker
(This used to be commit 9b867d2acffdfdcd5dc1dd5341db19daf11b5e96)
Diffstat (limited to 'source4/lib/tdb')
-rw-r--r--source4/lib/tdb/common/io.c2
1 files changed, 1 insertions, 1 deletions
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;