summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-11 08:50:07 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-11 08:50:07 +0000
commit23b9093f38b8b278d6396afcdfc54a6d81c11d55 (patch)
tree5b633e92cc9302d2f03e7fb6fb9730984e451bef /vm_core.h
parent21f6916b98a3b9d537607d0334217689e1430f16 (diff)
suppress unused argument warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index a4ac934609..2582d52a4c 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -1333,7 +1333,7 @@ vm_block_handler_type(VALUE block_handler)
}
static inline void
-vm_block_handler_verify(VALUE block_handler)
+vm_block_handler_verify(MAYBE_UNUSED(VALUE block_handler))
{
VM_ASSERT(block_handler == VM_BLOCK_HANDLER_NONE ||
(vm_block_handler_type(block_handler), 1));