Commit 9553e20d authored by Jared Breeden's avatar Jared Breeden

Removing redundant mrb_str_to_str call

parent 338ca305
...@@ -2003,7 +2003,6 @@ mrb_str_to_inum(mrb_state *mrb, mrb_value str, mrb_int base, mrb_bool badcheck) ...@@ -2003,7 +2003,6 @@ mrb_str_to_inum(mrb_state *mrb, mrb_value str, mrb_int base, mrb_bool badcheck)
const char *s; const char *s;
mrb_int len; mrb_int len;
str = mrb_str_to_str(mrb, str);
if (badcheck) { if (badcheck) {
s = mrb_string_value_cstr(mrb, &str); s = mrb_string_value_cstr(mrb, &str);
} }
......
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