mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-10 03:24: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 */
|
offset *= 4; /* space for 4 more */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* FALLTHRU: Big enough MDB_DUPFIXED sub-page */
|
/* Big enough MDB_DUPFIXED sub-page */
|
||||||
|
/* fallthrough */
|
||||||
case MDB_CURRENT | MDB_NODUPDATA:
|
case MDB_CURRENT | MDB_NODUPDATA:
|
||||||
case MDB_CURRENT:
|
case MDB_CURRENT:
|
||||||
fp->mp_flags |= P_DIRTY;
|
fp->mp_flags |= P_DIRTY;
|
||||||
|
@ -186,7 +186,7 @@ int main(int argc, char *argv[])
|
|||||||
break;
|
break;
|
||||||
case 'l':
|
case 'l':
|
||||||
list = 1;
|
list = 1;
|
||||||
/*FALLTHROUGH*/;
|
/* fallthrough */
|
||||||
case 'a':
|
case 'a':
|
||||||
if (subname)
|
if (subname)
|
||||||
usage(prog);
|
usage(prog);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user