summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
diff options
context:
space:
mode:
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++;