mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-09 02:14:13 +08:00
mdbx: add fallthrough
for modern gcc.
Change-Id: I948adc0e534dd9ba42b7d64e8105870cc77f82e6
This commit is contained in:
parent
c381573d1f
commit
5bb92a4277
3
mdb.c
3
mdb.c
@ -7032,7 +7032,8 @@ more:
|
||||
offset *= 4; /* space for 4 more */
|
||||
break;
|
||||
}
|
||||
/* FALLTHRU: Big enough MDB_DUPFIXED sub-page */
|
||||
/* Big enough MDB_DUPFIXED sub-page */
|
||||
/* fallthrough */
|
||||
case MDB_CURRENT | MDB_NODUPDATA:
|
||||
case MDB_CURRENT:
|
||||
fp->mp_flags |= P_DIRTY;
|
||||
|
@ -186,7 +186,7 @@ int main(int argc, char *argv[])
|
||||
break;
|
||||
case 'l':
|
||||
list = 1;
|
||||
/*FALLTHROUGH*/;
|
||||
/* fallthrough */
|
||||
case 'a':
|
||||
if (subname)
|
||||
usage(prog);
|
||||
|
Loading…
x
Reference in New Issue
Block a user