git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/tdb/common: clang: Fix 'Value stored to 'last_ptr' is never read'
[samba.git]
/
lib
/
tdb
/
common
/
freelistcheck.c
diff --git
a/lib/tdb/common/freelistcheck.c
b/lib/tdb/common/freelistcheck.c
index c6bfeaa41bf4af9e03267884c17f958f0c60d24d..2f1e6eb67cae785a88d83a7cc7aee0a9fa4b1858 100644
(file)
--- a/
lib/tdb/common/freelistcheck.c
+++ b/
lib/tdb/common/freelistcheck.c
@@
-93,7
+93,6
@@
_PUBLIC_ int tdb_validate_freelist(struct tdb_context *tdb, int *pnum_entries)
}
/* move to the next record */
- last_ptr = rec_ptr;
rec_ptr = rec.next;
*pnum_entries += 1;
}