mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
codegen.c: avoid uninitialized local variable.
This commit is contained in:
@@ -1493,6 +1493,7 @@ readint(codegen_scope *s, const char *p, int base, mrb_bool *overflow)
|
||||
n = c - 'A' + 10; break;
|
||||
default:
|
||||
codegen_error(s, "malformed readint input");
|
||||
*overflow = TRUE;
|
||||
/* not reached */
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user