svn commit: samba r14972 - in branches/SAMBA_4_0/source/lib/tdb/common: .

tridge at samba.org tridge at samba.org
Sat Apr 8 02:29:48 GMT 2006


Author: tridge
Date: 2006-04-08 02:29:48 +0000 (Sat, 08 Apr 2006)
New Revision: 14972

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14972

Log:

fix an uninitialised warning from ibm checker

Modified:
   branches/SAMBA_4_0/source/lib/tdb/common/io.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/tdb/common/io.c
===================================================================
--- branches/SAMBA_4_0/source/lib/tdb/common/io.c	2006-04-08 02:04:19 UTC (rev 14971)
+++ branches/SAMBA_4_0/source/lib/tdb/common/io.c	2006-04-08 02:29:48 UTC (rev 14972)
@@ -173,7 +173,7 @@
 			}
 		}
 	} 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;



More information about the samba-cvs mailing list