summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro Matz Matsumoto <[email protected]>2012-11-04 05:07:44 +0900
committerYukihiro Matz Matsumoto <[email protected]>2012-11-04 05:07:44 +0900
commitca7c662be5debb85b38063807c6f3034d1156d5f (patch)
tree1fdebe48bcae13e65fd15dd26b40bf1fabb046d7 /src
parent15304c194d86544cc7cc7138cec1bf4bdcbcaeb5 (diff)
downloadmruby-ca7c662be5debb85b38063807c6f3034d1156d5f.tar.gz
mruby-ca7c662be5debb85b38063807c6f3034d1156d5f.zip
remove reference to ruby_verbose and ruby_debug
Diffstat (limited to 'src')
-rw-r--r--src/sprintf.c2
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;