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

ruby-changes:36831

From: nobu <ko1@a...>
Date: Sun, 21 Dec 2014 14:26:33 +0900 (JST)
Subject: [ruby-changes:36831] nobu:r48912 (trunk): handle.c: suppress a warning

nobu	2014-12-21 14:26:20 +0900 (Sun, 21 Dec 2014)

  New Revision: 48912

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

  Log:
    handle.c: suppress a warning
    
    * ext/fiddle/handle.c (rb_fiddle_handle_initialize): suppress an
      unused-but-set-variable warning.

  Modified files:
    trunk/ext/fiddle/handle.c
Index: ext/fiddle/handle.c
===================================================================
--- ext/fiddle/handle.c	(revision 48911)
+++ ext/fiddle/handle.c	(revision 48912)
@@ -170,6 +170,7 @@ rb_fiddle_handle_initialize(int argc, VA https://github.com/ruby/ruby/blob/trunk/ext/fiddle/handle.c#L170
 # ifdef _WIN32_WCE
 	ptr = dlopen("coredll.dll", cflag);
 # else
+	(void)cflag;
 	ptr = w32_coredll();
 # endif
     }

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

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