mdbx: add/fix 'fallthrough' for GCC 7.x

Change-Id: I45c57ea910978aaa857086d7794ad92ba0ae7157
This commit is contained in:
Leo Yuriev
2017-10-28 10:35:01 +03:00
committed by Leonid Yuriev
parent 03db768830
commit 6f6b360aba
5 changed files with 13 additions and 1 deletions

View File

@@ -7067,7 +7067,8 @@ int mdbx_cursor_put(MDBX_cursor *mc, MDBX_val *key, MDBX_val *data,
offset *= 4; /* space for 4 more */
break;
}
/* FALLTHRU: Big enough MDBX_DUPFIXED sub-page */
/* FALLTHRU: Big enough MDBX_DUPFIXaED sub-page */
__fallthrough;
case MDBX_CURRENT | MDBX_NODUPDATA:
case MDBX_CURRENT:
fp->mp_flags |= P_DIRTY;