mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
compile.c: add NO_CHECK for the calls to COMPILE whose result is unused
to suppress many warnings of Coverity Scan
This commit is contained in:
parent
0e23e0c3a0
commit
416ead4cda
1 changed files with 1 additions and 1 deletions
|
@ -1650,7 +1650,7 @@ iseq_set_arguments(rb_iseq_t *iseq, LINK_ANCHOR *const optargs, const NODE *cons
|
|||
label = NEW_LABEL(nd_line(node));
|
||||
rb_ary_push(labels, (VALUE)label | 1);
|
||||
ADD_LABEL(optargs, label);
|
||||
COMPILE_POPPED(optargs, "optarg", node->nd_body);
|
||||
NO_CHECK(COMPILE_POPPED(optargs, "optarg", node->nd_body));
|
||||
node = node->nd_next;
|
||||
i += 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue