From fca73eeb87c0d5f48f66e0a7aeba7efee7f849b8 Mon Sep 17 00:00:00 2001
From: Kuldeep Aggarwal <kd.engineer@yahoo.co.in>
Date: Thu, 12 Jun 2014 00:27:58 +0530
Subject: remove warnings warning: assigned but unused variable - scope_called,
 path and strexp

---
 actionpack/test/controller/routing_test.rb | 1 -
 actionpack/test/journey/router_test.rb     | 2 --
 2 files changed, 3 deletions(-)

diff --git a/actionpack/test/controller/routing_test.rb b/actionpack/test/controller/routing_test.rb
index 660589a86e..721dad4dd9 100644
--- a/actionpack/test/controller/routing_test.rb
+++ b/actionpack/test/controller/routing_test.rb
@@ -256,7 +256,6 @@ class LegacyRouteSetTests < ActiveSupport::TestCase
   end
 
   def test_scoped_lambda_with_get_lambda
-    scope_called = false
     inner_called = false
 
     rs.draw do
diff --git a/actionpack/test/journey/router_test.rb b/actionpack/test/journey/router_test.rb
index e092432b01..2e7e8e1bea 100644
--- a/actionpack/test/journey/router_test.rb
+++ b/actionpack/test/journey/router_test.rb
@@ -213,8 +213,6 @@ module ActionDispatch
         route_set = Routing::RouteSet.new
         mapper = Routing::Mapper.new route_set
 
-        strexp = Router::Strexp.build("/", {}, ['/', '.', '?'], false)
-        path   = Path::Pattern.new strexp
         app    = lambda { |env| [200, {}, ['success!']] }
         mapper.get '/weblog', :to => app
 
-- 
cgit v1.2.3