[前][次][番号順一覧][スレッド一覧]

ruby-changes:47721

From: naruse <ko1@a...>
Date: Mon, 11 Sep 2017 17:50:14 +0900 (JST)
Subject: [ruby-changes:47721] naruse:r59837 (trunk): suppress unused argument warning

naruse	2017-09-11 17:50:07 +0900 (Mon, 11 Sep 2017)

  New Revision: 59837

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59837

  Log:
    suppress unused argument warning

  Modified files:
    trunk/vm_core.h
Index: vm_core.h
===================================================================
--- vm_core.h	(revision 59836)
+++ vm_core.h	(revision 59837)
@@ -1333,7 +1333,7 @@ vm_block_handler_type(VALUE block_handle https://github.com/ruby/ruby/blob/trunk/vm_core.h#L1333
 }
 
 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));

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]