mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix compiler warnings
metadata_lock_info_duration[]: Remove the unused variable. Add some comments /* fall through */ to silence -Wimplicit-fallthrough
This commit is contained in:
@ -1249,6 +1249,7 @@ else
|
||||
|
||||
if ((c = *ptr) >= CHAR_8) break;
|
||||
|
||||
/* fall through */
|
||||
/* Fall through with a digit less than 8 */
|
||||
|
||||
/* \0 always starts an octal number, but we may drop through to here with a
|
||||
@ -5097,6 +5098,8 @@ for (;; ptr++)
|
||||
either not match or match, depending on whether the class is or is
|
||||
not negated. */
|
||||
|
||||
/* fall through */
|
||||
|
||||
default:
|
||||
if (local_negate &&
|
||||
(xclass || tempptr[2] != CHAR_RIGHT_SQUARE_BRACKET))
|
||||
@ -7165,7 +7168,7 @@ for (;; ptr++)
|
||||
goto FAILED;
|
||||
}
|
||||
/* Fall through to handle (?P< as (?< is handled */
|
||||
|
||||
/* fall through */
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
DEFINE_NAME: /* Come here from (?< handling */
|
||||
|
Reference in New Issue
Block a user