From 48b513fd2388840454d257cd110b576b08fb2abd Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 16 Sep 2005 07:24:36 +0000 Subject: r10258: Fix an unused/duplicate local variable. (This used to be commit 360be7028c2244391cdd9ed6d156cec8dab9e9e9) --- source4/lib/tdb/common/io.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source4/lib') 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; } -- cgit