summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-06-23 13:10:51 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-06-25 06:57:42 +0900
commit95360a17f2260a46daeab2ed3456cd7c25c162ef (patch)
treeb0a89215de430b9336db31b64a4b494bf9084d77 /src
parent9dfe50f1d96178a9615b4fcdfe1ae2f5df71297f (diff)
downloadmruby-95360a17f2260a46daeab2ed3456cd7c25c162ef.tar.gz
mruby-95360a17f2260a46daeab2ed3456cd7c25c162ef.zip
Remove unnecessary `break` from `numeric.c`.
Diffstat (limited to 'src')
-rw-r--r--src/numeric.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/numeric.c b/src/numeric.c
index 3977a00c1..49d30c1a5 100644
--- a/src/numeric.c
+++ b/src/numeric.c
@@ -419,7 +419,6 @@ value_int64(mrb_state *mrb, mrb_value x)
switch (mrb_type(x)) {
case MRB_TT_FIXNUM:
return (int64_t)mrb_fixnum(x);
- break;
case MRB_TT_FLOAT:
return (int64_t)mrb_float(x);
default: