summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-sprintf
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-09-29 14:29:07 +0900
committerGitHub <[email protected]>2019-09-29 14:29:07 +0900
commitc5d500d51e6620aca0903bfa391bb7e5134aa317 (patch)
tree83790c0f4d8eab32e8fdd1efa94762978fc0bb1c /mrbgems/mruby-sprintf
parent704c40bfa221e3a345244db3d0e1958b84d4cc4b (diff)
parente48207cdb39ccad4775c5798d59d3e04a1e723a1 (diff)
downloadmruby-c5d500d51e6620aca0903bfa391bb7e5134aa317.tar.gz
mruby-c5d500d51e6620aca0903bfa391bb7e5134aa317.zip
Merge pull request #4738 from dearblue/unneed-assign
Remove unnecessary assignments
Diffstat (limited to 'mrbgems/mruby-sprintf')
-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)