Fix -Wimplicit-fallthrough warnings
We already have the magic comment to do this, but they weren't in quite the right place.
This commit is contained in:
parent
90e65e17fc
commit
175b8d8542
1 changed files with 2 additions and 2 deletions
|
|
@ -17,8 +17,8 @@
|
|||
errno = 0;
|
||||
lvar = (t) strtoll(Z_STRVAL(invar), &endptr, 10);
|
||||
if (*endptr && !errno) break;
|
||||
/* FALL THRU */
|
||||
}
|
||||
/* FALL THRU */
|
||||
default:
|
||||
lvar = (t) zval_get_long(&invar);
|
||||
}
|
||||
|
|
@ -34,8 +34,8 @@
|
|||
errno = 0;
|
||||
lvar = (t) strtoull(Z_STRVAL(invar), &endptr, 10);
|
||||
if (*endptr && !errno) break;
|
||||
/* FALL THRU */
|
||||
}
|
||||
/* FALL THRU */
|
||||
default:
|
||||
lvar = (t) zval_get_long(&invar);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue