summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authordearblue <[email protected]>2019-09-29 13:45:16 +0900
committerdearblue <[email protected]>2019-09-29 13:45:16 +0900
commite48207cdb39ccad4775c5798d59d3e04a1e723a1 (patch)
tree1fec0483ebe56b9c1516655c2d90f9dc978ab41c
parentacbea6affe4742adda75113fa3e2ae969e8984e1 (diff)
downloadmruby-e48207cdb39ccad4775c5798d59d3e04a1e723a1.tar.gz
mruby-e48207cdb39ccad4775c5798d59d3e04a1e723a1.zip
Remove unnecessary assignments
-rw-r--r--mrbgems/mruby-sprintf/src/sprintf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mrbgems/mruby-sprintf/src/sprintf.c b/mrbgems/mruby-sprintf/src/sprintf.c
index efbfb13e2..16ced6a85 100644
--- a/mrbgems/mruby-sprintf/src/sprintf.c
+++ b/mrbgems/mruby-sprintf/src/sprintf.c
@@ -1051,7 +1051,6 @@ retry:
fmt_setup(fbuf, sizeof(fbuf), *p, flags, width, prec);
need = 0;
if (*p != 'e' && *p != 'E') {
- i = INT_MIN;
frexp(fval, &frexp_result);
i = (mrb_int)frexp_result;
if (i > 0)