git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdd1de1
)
lib:tdb: Add FALL_THROUGH statements in common/summary.c
author
Andreas Schneider
<asn@samba.org>
Wed, 26 Jul 2017 16:28:12 +0000
(18:28 +0200)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 1 Mar 2018 03:37:42 +0000
(
04:37
+0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/tdb/common/summary.c
patch
|
blob
|
history
diff --git
a/lib/tdb/common/summary.c
b/lib/tdb/common/summary.c
index d786132d4a18baf9ab4ee8fbbc9cc25ca712bb6d..c9b5bc4c1d0b490b9948bde4ad6c93e9fc13aa04 100644
(file)
--- a/
lib/tdb/common/summary.c
+++ b/
lib/tdb/common/summary.c
@@
-151,7
+151,8
@@
_PUBLIC_ char *tdb_summary(struct tdb_context *tdb)
rec.rec_len = tdb_dead_space(tdb, off)
- sizeof(rec);
}
- /* Fall through */
+
+ FALL_THROUGH;
case TDB_DEAD_MAGIC:
tally_add(&dead, rec.rec_len);
break;