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

tpot at samba.org tpot at samba.org
Fri Sep 16 07:24:36 GMT 2005


Author: tpot
Date: 2005-09-16 07:24:36 +0000 (Fri, 16 Sep 2005)
New Revision: 10258

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

Log:
Fix an unused/duplicate local variable.

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	2005-09-16 07:19:37 UTC (rev 10257)
+++ branches/SAMBA_4_0/source/lib/tdb/common/io.c	2005-09-16 07:24:36 UTC (rev 10258)
@@ -124,8 +124,6 @@
 /* read a lump of data at a specified offset, maybe convert */
 int tdb_read(struct tdb_context *tdb, tdb_off_t off, void *buf, tdb_len_t len, int cv)
 {
-	ssize_t ret;
-
 	if (tdb_oob(tdb, off + len, 0) != 0) {
 		return -1;
 	}



More information about the samba-cvs mailing list