diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-04-29 11:31:18 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-04-29 11:31:18 +0900 |
commit | 812a438145a604e1361d4bf07cc3d81452cfb0ec (patch) | |
tree | 462b2afa206fcd6e86a9161635f9a6f9ce8dadc0 /iseq.c | |
parent | 6033423d6882546e132a450ab9efc66507879594 (diff) |
iseq.c: removed unnecessary zero-fills
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |