aboutsummaryrefslogtreecommitdiffstats
path: root/test/fiddle
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-24 09:12:18 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-24 09:12:18 +0000
commitfa7b849f946c37422d27ce601582a7aa24eed0e3 (patch)
treee59a70b67d1ad908212efcfa9b328914367b218d /test/fiddle
parent9d14ea97d91fd61bd58472072ee7dc86253c8fd2 (diff)
downloadruby-fa7b849f946c37422d27ce601582a7aa24eed0e3.tar.gz
* test/fiddle/test_function.rb: remove unused variables.
* test/fileutils/test_fileutils.rb: ditto. * test/io/console/test_io_console.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/fiddle')
-rw-r--r--test/fiddle/test_function.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fiddle/test_function.rb b/test/fiddle/test_function.rb
index f7a49dc6fa..e617c0b61e 100644
--- a/test/fiddle/test_function.rb
+++ b/test/fiddle/test_function.rb
@@ -59,7 +59,7 @@ module Fiddle
func = Function.new(@libc['strcpy'], [TYPE_VOIDP, TYPE_VOIDP], TYPE_VOIDP)
assert_nil Fiddle.last_error
- str = func.call("000", "123")
+ func.call("000", "123")
refute_nil Fiddle.last_error
end