From b631e0f8d5828e57d0f0ef1712dcb36ecd4a6029 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Sun, 13 Apr 2014 17:34:06 +0900 Subject: avoid function style parens after "return"; ref #2055 --- src/numeric.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/numeric.c') diff --git a/src/numeric.c b/src/numeric.c index e5fc59ec8..d575ec7dd 100644 --- a/src/numeric.c +++ b/src/numeric.c @@ -1029,13 +1029,13 @@ fix_lshift(mrb_state *mrb, mrb_value x) fix_shift_get_width(mrb, &width); if (width == 0) { - return(x); + return x; } val = mrb_fixnum(x); if (width < 0) { - return(rshift(val, -width)); + return rshift(val, -width); } - return(lshift(mrb, val, width)); + return lshift(mrb, val, width); } /* 15.2.8.3.13 */ @@ -1054,13 +1054,13 @@ fix_rshift(mrb_state *mrb, mrb_value x) fix_shift_get_width(mrb, &width); if (width == 0) { - return(x); + return x; } val = mrb_fixnum(x); if (width < 0) { - return(lshift(mrb, val, -width)); + return lshift(mrb, val, -width); } - return(rshift(val, width)); + return rshift(val, width); } /* 15.2.8.3.23 */ -- cgit v1.2.3