mirror of
https://github.com/ruby/ruby.git
synced 2025-08-16 05:59:00 +02:00
* compile.c (iseq_compile_each): remove unused variable `size'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0a983d5a58
commit
6051f54260
2 changed files with 5 additions and 2 deletions
|
@ -4371,13 +4371,12 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped)
|
|||
}
|
||||
case NODE_HASH:{
|
||||
DECL_ANCHOR(list);
|
||||
VALUE size = 0;
|
||||
int type = node->nd_head ? nd_type(node->nd_head) : NODE_ZARRAY;
|
||||
|
||||
INIT_ANCHOR(list);
|
||||
switch (type) {
|
||||
case NODE_ARRAY:
|
||||
size = INT2FIX(compile_array(iseq, list, node->nd_head, COMPILE_ARRAY_TYPE_HASH));
|
||||
compile_array(iseq, list, node->nd_head, COMPILE_ARRAY_TYPE_HASH);
|
||||
ADD_SEQ(ret, list);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue