dtas-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 7/8] test/helper: fix var shadowing


From: Eric Wong
Subject: [PATCH 7/8] test/helper: fix var shadowing
Date: Sat, 7 Sep 2013 20:03:26 +0000

Oops.
---
 test/helper.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/helper.rb b/test/helper.rb
index 81bc22f..7675a7c 100644
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -58,7 +58,7 @@ def tmpfifo
 
   if FIFOS.empty?
     at_exit do
-      FIFOS.each { |(pid,path)| File.unlink(path) if $$ == pid }
+      FIFOS.each { |(pid,_path)| File.unlink(_path) if $$ == pid }
     end
   end
   FIFOS << [ $$, path ]
-- 
1.8.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]