diff options
author | Akira Matsuda <ronnie@dio.jp> | 2018-02-02 19:50:07 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2018-02-02 19:50:07 +0900 |
commit | dc8ba34b66386f83566950aea44b0e6bbd199962 (patch) | |
tree | 0135b414a04a1e294e991488f9222443e9a99830 | |
parent | 15c48f3b632b5c41b639f4add8089ab003658766 (diff) | |
download | systemu-dc8ba34b66386f83566950aea44b0e6bbd199962.tar.gz |
:warning: assigned but unused variable - thread
-rw-r--r-- | lib/systemu.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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), |