diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/-test-/printf/printf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/-test-/printf/printf.c b/ext/-test-/printf/printf.c index 1ebe80411b..336f918986 100644 --- a/ext/-test-/printf/printf.c +++ b/ext/-test-/printf/printf.c @@ -44,8 +44,8 @@ printf_test_call(int argc, VALUE *argv, VALUE self) { VALUE opt, type, num, result; char format[sizeof(int) * 6 + 8], *p = format, cnv; - int n; - const char *s; + int n = 0; + const char *s = 0; rb_scan_args(argc, argv, "2:", &type, &num, &opt); Check_Type(type, T_STRING); |