summaryrefslogtreecommitdiff
path: root/lib/shell
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-08 20:59:01 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-08 20:59:01 +0000
commitf3e35474078895e1d178e15cfbfc6743f9ffc62d (patch)
treea3fd49329f497133415a7ec11592b5c693459608 /lib/shell
parentcceca83afe046b8c2b53eab6ab7c52faa1719b6d (diff)
* lib/*.rb: Remove unused variable warnings.
Patch by Run Paint [ruby-core:30991] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/shell')
-rw-r--r--lib/shell/system-command.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/shell/system-command.rb b/lib/shell/system-command.rb
index af9b0a8e37..ee3490efcd 100644
--- a/lib/shell/system-command.rb
+++ b/lib/shell/system-command.rb
@@ -84,7 +84,7 @@ class Shell
notify "Job(%id) start imp-pipe.", @shell.debug?
rs = @shell.record_separator unless rs
_eop = true
- th = Thread.start {
+ Thread.start {
begin
while l = @pipe_in.gets
@input_queue.push l
@@ -109,7 +109,7 @@ class Shell
def start_export
notify "job(%id) start exp-pipe.", @shell.debug?
_eop = true
- th = Thread.start{
+ Thread.start{
begin
@input.each do |l|
ProcessController::block_output_synchronize do