summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-21 05:26:20 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-21 05:26:20 +0000
commitcfe3357581b98e18aa4b4574ba262956df76bae8 (patch)
tree2883bd43b9eaa1bfcbeb3f5de40d12e816696357
parent3600b5e6f749559d7036792032852a1fbb3a1193 (diff)
handle.c: suppress a warning
* ext/fiddle/handle.c (rb_fiddle_handle_initialize): suppress an unused-but-set-variable warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/fiddle/handle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/fiddle/handle.c b/ext/fiddle/handle.c
index 36970a2..f03b040 100644
--- a/ext/fiddle/handle.c
+++ b/ext/fiddle/handle.c
@@ -170,6 +170,7 @@ rb_fiddle_handle_initialize(int argc, VALUE argv[], VALUE self)
# ifdef _WIN32_WCE
ptr = dlopen("coredll.dll", cflag);
# else
+ (void)cflag;
ptr = w32_coredll();
# endif
}