git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dbeab5
)
r10258: Fix an unused/duplicate local variable.
author
Tim Potter
<tpot@samba.org>
Fri, 16 Sep 2005 07:24:36 +0000
(07:24 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:38:12 +0000
(13:38 -0500)
(This used to be commit
360be7028c2244391cdd9ed6d156cec8dab9e9e9
)
source4/lib/tdb/common/io.c
patch
|
blob
|
history
diff --git
a/source4/lib/tdb/common/io.c
b/source4/lib/tdb/common/io.c
index dbcc83119ce3873fdba1bf06d40460c2a9df8c57..97da809bc612f10722b0af23c0eb697b5004e624 100644
(file)
--- 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;
}