diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2019-07-17 08:24:25 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2019-07-17 23:41:58 +0900 |
commit | 416ead4cdaf849fe1f3dcda26d6ba04c80e36746 (patch) | |
tree | dee1c3941c49e90bccdd0d4fa7cff7187cefc5c4 /compile.c | |
parent | 0e23e0c3a0c1053c230205117b82cc8156f3a26a (diff) |
compile.c: add NO_CHECK for the calls to COMPILE whose result is unused
to suppress many warnings of Coverity Scan
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 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; } |