diff options
author | Vassilis Rizopoulos <vassilisrizopoulos@gmail.com> | 2018-02-02 15:35:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-02 15:35:22 +0100 |
commit | c910f79a46f739aee0b11e10a6158d8d3545501f (patch) | |
tree | 0135b414a04a1e294e991488f9222443e9a99830 /lib/systemu.rb | |
parent | 15c48f3b632b5c41b639f4add8089ab003658766 (diff) | |
parent | dc8ba34b66386f83566950aea44b0e6bbd199962 (diff) | |
download | systemu-master.tar.gz |
⚠ assigned but unused variable - thread
Diffstat (limited to 'lib/systemu.rb')
-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), |