Unverified Commit 2166cc2e authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4803 from shuujii/remove-unused-enum-in-mrb_cstr_to_dbl

Remove unused enum in `mrb_cstr_to_dbl`
parents 5812d05b bf0b591b
...@@ -2499,8 +2499,6 @@ mrb_cstr_to_dbl(mrb_state *mrb, const char * p, mrb_bool badcheck) ...@@ -2499,8 +2499,6 @@ mrb_cstr_to_dbl(mrb_state *mrb, const char * p, mrb_bool badcheck)
char buf[DBL_DIG * 4 + 10]; char buf[DBL_DIG * 4 + 10];
double d; double d;
enum {max_width = 20};
if (!p) return 0.0; if (!p) return 0.0;
while (ISSPACE(*p)) p++; while (ISSPACE(*p)) p++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment