From e4a173083c9453b6583dc7d6705383a66035f050 Mon Sep 17 00:00:00 2001
From: Lyle Johnson <lyle@lylejohnson.name>
Date: Tue, 3 Aug 2010 15:45:09 -0500
Subject: [PATCH] Modified TC_FXDCWindow.rb to suppress warning about local
 variable shadowing outer variable

---
 test/TC_FXDCWindow.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/TC_FXDCWindow.rb b/test/TC_FXDCWindow.rb
index 5614c45..63ff320 100755
--- a/test/TC_FXDCWindow.rb
+++ b/test/TC_FXDCWindow.rb
@@ -10,13 +10,15 @@ class TC_FXDCWindow < TestCase
     app.create
     mainWindow.create
   end
+
   def test_new
     dc = FXDCWindow.new(mainWindow)
     dc.drawPoint(0, 0)
     dc.end
   end
+
   def test_new_with_block
-    dc = FXDCWindow.new(mainWindow) do |dc|
+    FXDCWindow.new(mainWindow) do |dc|
       dc.drawPoint(0, 0)
     end
   end
-- 
GitLab