summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
diff options
context:
space:
mode:
authorKOBAYASHI Shuji <[email protected]>2019-11-03 19:39:25 +0900
committerKOBAYASHI Shuji <[email protected]>2019-11-03 19:39:25 +0900
commitbf0b591b2f53284fdb80aa15c82c9912fb1edb94 (patch)
tree9601e3b88ff5a26f80ebac25a1cc2708b63c647b /src/string.c
parent5812d05b71d3d83953ddefbd1281a9aebb1334bb (diff)
downloadmruby-bf0b591b2f53284fdb80aa15c82c9912fb1edb94.tar.gz
mruby-bf0b591b2f53284fdb80aa15c82c9912fb1edb94.zip
Remove unused enum in `mrb_cstr_to_dbl`
Diffstat (limited to 'src/string.c')
-rw-r--r--src/string.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/string.c b/src/string.c
index b7eef5888..b69a39df8 100644
--- a/src/string.c
+++ b/src/string.c
@@ -2499,8 +2499,6 @@ mrb_cstr_to_dbl(mrb_state *mrb, const char * p, mrb_bool badcheck)
char buf[DBL_DIG * 4 + 10];
double d;
- enum {max_width = 20};
-
if (!p) return 0.0;
while (ISSPACE(*p)) p++;