aboutsummaryrefslogtreecommitdiffstats
path: root/time.c
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-07-14 14:27:45 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-07-14 14:28:01 +0900
commit219643c075d9f5641307853cae052383bb289a11 (patch)
treee0f12a2a26e0a6b2a69da785be971cfd462e88fc /time.c
parent34b3ef29b60f1351130f2ccc8adf3d174861233c (diff)
downloadruby-219643c075d9f5641307853cae052383bb289a11.tar.gz
Add a /* fall through */ comment
Diffstat (limited to 'time.c')
-rw-r--r--time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/time.c b/time.c
index 3ed694fe23..8d1bfd3452 100644
--- a/time.c
+++ b/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;