diff options
Diffstat (limited to 'src/sprintf.c')
| -rw-r--r-- | src/sprintf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sprintf.c b/src/sprintf.c index cbe2681a9..630875a88 100644 --- a/src/sprintf.c +++ b/src/sprintf.c @@ -1048,6 +1048,7 @@ retry: } sprint_exit: +#if 0 /* XXX - We cannot validate the number of arguments if (digit)$ style used. */ if (posarg >= 0 && nextarg < argc) { @@ -1055,6 +1056,7 @@ retry: if (mrb_test(ruby_debug)) mrb_raise(mrb, E_ARGUMENT_ERROR, mesg); if (mrb_test(ruby_verbose)) mrb_warn("%s", mesg); } +#endif mrb_str_resize(mrb, result, blen); return result; |
