mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mruby-sprintf: remove unnecessary format specifier
This commit is contained in:
@@ -1097,7 +1097,7 @@ retry:
|
||||
if (posarg >= 0 && nextarg < argc) {
|
||||
const char *mesg = "too many arguments for format string";
|
||||
if (mrb_test(ruby_debug)) mrb_raise(mrb, E_ARGUMENT_ERROR, mesg);
|
||||
if (mrb_test(ruby_verbose)) mrb_warn(mrb, "%s", mesg);
|
||||
if (mrb_test(ruby_verbose)) mrb_warn(mrb, mesg);
|
||||
}
|
||||
#endif
|
||||
mrb_str_resize(mrb, result, blen);
|
||||
|
||||
Reference in New Issue
Block a user