aboutsummaryrefslogtreecommitdiffstats
path: root/test/dl/test_cfunc.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-30 19:10:12 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-30 19:10:12 +0000
commit9207474f04b9aa6e60f1d0799a4afbd908e9dac7 (patch)
treea313bd1bbb71ec6cea68f025835669f8daaa0526 /test/dl/test_cfunc.rb
parent8539a917ddf13e48237bf9a10eb8b660dbba4628 (diff)
downloadruby-9207474f04b9aa6e60f1d0799a4afbd908e9dac7.tar.gz
suppress warnings: unused variables
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/dl/test_cfunc.rb')
-rw-r--r--test/dl/test_cfunc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dl/test_cfunc.rb b/test/dl/test_cfunc.rb
index c0bab45700..39fa8133a2 100644
--- a/test/dl/test_cfunc.rb
+++ b/test/dl/test_cfunc.rb
@@ -72,7 +72,7 @@ module DL
Thread.new do
f = Function.new(@cf, [TYPE_VOIDP, TYPE_VOIDP])
assert_nil CFunc.last_error
- str = f.call("000", "123")
+ f.call("000", "123")
assert_not_nil CFunc.last_error
end.join
end