From dc8ba34b66386f83566950aea44b0e6bbd199962 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Fri, 2 Feb 2018 19:50:07 +0900 Subject: :warning: assigned but unused variable - thread --- lib/systemu.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/systemu.rb b/lib/systemu.rb index 5f7745a..aa12fe4 100644 --- a/lib/systemu.rb +++ b/lib/systemu.rb @@ -294,7 +294,7 @@ if defined? JRUBY_VERSION field = process.get_class.get_declared_field("pid") field.set_accessible(true) pid = field.get(process) - thread = new_thread pid, @block if @block + _thread = new_thread pid, @block if @block exit_code = process.wait_for [ RubyProcess::RubyStatus.new_process_status(JRuby.runtime, exit_code, pid), -- cgit v1.2.1