mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add a /* fall through */ comment
This commit is contained in:
parent
34b3ef29b6
commit
219643c075
1 changed files with 1 additions and 0 deletions
1
time.c
1
time.c
|
@ -2087,6 +2087,7 @@ utc_offset_arg(VALUE arg)
|
|||
if (s[6] != ':') goto invalid_utc_offset;
|
||||
if (!ISDIGIT(s[7]) || !ISDIGIT(s[8])) goto invalid_utc_offset;
|
||||
n += (s[7] * 10 + s[8] - '0' * 11);
|
||||
/* fall through */
|
||||
case 6:
|
||||
if (s[0] != '+' && s[0] != '-') goto invalid_utc_offset;
|
||||
if (!ISDIGIT(s[1]) || !ISDIGIT(s[2])) goto invalid_utc_offset;
|
||||
|
|
Loading…
Reference in a new issue