diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-08 15:13:37 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-08 15:13:37 +0900 |
commit | e474c189da8314f44659eadcbf9ca3c7d4393bfb (patch) | |
tree | 9b57a10fd42d0ea622ac8f21999e30bd04790e27 /numeric.c | |
parent | 3b1029f89417c10cf1293e1106780d1f3263d9f4 (diff) | |
download | ruby-e474c189da8314f44659eadcbf9ca3c7d4393bfb.tar.gz |
Suppress -Wswitch warnings
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4147,6 +4147,8 @@ rb_num_pow(VALUE x, VALUE y) return rb_complex_pow(x, y); case T_RATIONAL: return rb_rational_pow(x, y); + default: + break; } return Qnil; } |