aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index 83598b4603..85f85ca300 100644
--- a/compile.c
+++ b/compile.c
@@ -4927,7 +4927,8 @@ iseq_build_body(rb_iseq_t *iseq, LINK_ANCHOR *anchor,
case TS_LINDEX:
case TS_DINDEX:
case TS_NUM:
- argv[j] = (NUM2INT(op), op);
+ (void)NUM2INT(op);
+ argv[j] = op;
break;
case TS_VALUE:
argv[j] = op;