diff --git a/rack-protection/spec/escaped_params_spec.rb b/rack-protection/spec/escaped_params_spec.rb
index <HASH>..<HASH> 100644
--- a/rack-protection/spec/escaped_params_spec.rb
+++ b/rack-protection/spec/escaped_params_spec.rb
@@ -33,7 +33,6 @@ describe Rack::Protection::EscapedParams do
 
     it 'leaves cache-breaker params untouched' do
       mock_app do |env|
-        request = Rack::Request.new(env)
         [200, {'Content-Type' => 'text/plain'}, ['hi']]
       end
Don't create request since it is unused.