From 1fc9a3019d586a04a82bde86a7c443673f94cd7c Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Mon, 24 Jul 2017 16:46:27 +0900 Subject: Initialize potentially uninitialized local variable. --- mrbgems/mruby-compiler/core/parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mrbgems/mruby-compiler/core/parse.y') diff --git a/mrbgems/mruby-compiler/core/parse.y b/mrbgems/mruby-compiler/core/parse.y index 76f1ceb2b..5d5ef297c 100644 --- a/mrbgems/mruby-compiler/core/parse.y +++ b/mrbgems/mruby-compiler/core/parse.y @@ -5558,7 +5558,7 @@ mrb_parser_parse(parser_state *p, mrbc_context *c) p->jmp = &buf1; MRB_TRY(p->jmp) { - int n; + int n = 1; p->cmd_start = TRUE; p->in_def = p->in_single = 0; -- cgit v1.2.3