1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

iseq.c: removed unnecessary zero-fills

This commit is contained in:
Nobuyoshi Nakada 2019-04-29 11:31:18 +09:00
parent 6033423d68
commit 812a438145
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

5
iseq.c
View file

@ -2183,9 +2183,10 @@ rb_iseq_disasm_recursive(const rb_iseq_t *iseq, VALUE indent)
int li = body->local_table_size - --i - 1;
long width;
VALUE name = local_var_name(iseq, 0, i);
char argi[0x100] = "";
char opti[0x100] = "";
char argi[0x100];
char opti[0x100];
opti[0] = '\0';
if (body->param.flags.has_opt) {
int argc = body->param.lead_num;
int opts = body->param.opt_num;