summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-09-16 07:24:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:12 -0500
commit48b513fd2388840454d257cd110b576b08fb2abd (patch)
treef6d3e41b62d094e562b2884a21736947377c1098 /source4/lib
parent8dbeab5cd2ee0e999521790cfff19ea71520f138 (diff)
downloadsamba-48b513fd2388840454d257cd110b576b08fb2abd.tar.gz
samba-48b513fd2388840454d257cd110b576b08fb2abd.tar.bz2
samba-48b513fd2388840454d257cd110b576b08fb2abd.zip
r10258: Fix an unused/duplicate local variable.
(This used to be commit 360be7028c2244391cdd9ed6d156cec8dab9e9e9)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/tdb/common/io.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/lib/tdb/common/io.c b/source4/lib/tdb/common/io.c
index dbcc83119c..97da809bc6 100644
--- a/source4/lib/tdb/common/io.c
+++ b/source4/lib/tdb/common/io.c
@@ -124,8 +124,6 @@ void *tdb_convert(void *buf, u32 size)
/* 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;
}