diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-04-03 16:56:27 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-04-03 16:56:27 +0900 |
| commit | 77331d127b6ab202e703bd7297ab6aabf4a314e9 (patch) | |
| tree | e86c5ee7c9f4a5a867d63745607f525116b84d19 /src/numeric.c | |
| parent | fbf4089d2f9480b5f5c9b8cdc312ad5e8417f62e (diff) | |
| download | mruby-77331d127b6ab202e703bd7297ab6aabf4a314e9.tar.gz mruby-77331d127b6ab202e703bd7297ab6aabf4a314e9.zip | |
Unify `else` clause style
Diffstat (limited to 'src/numeric.c')
| -rw-r--r-- | src/numeric.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/numeric.c b/src/numeric.c index aa6f86cb9..2117fcc3c 100644 --- a/src/numeric.c +++ b/src/numeric.c @@ -944,7 +944,8 @@ lshift(mrb_state *mrb, mrb_int val, mrb_int width) (val > (MRB_INT_MAX >> width))) { goto bit_overflow; } - } else { + } + else { if ((width > NUMERIC_SHIFT_WIDTH_MAX) || (val < (MRB_INT_MIN >> width))) { goto bit_overflow; |
