Browse Source

Remove a dumb warning when running the tests

Loïc Hoguin 13 years ago
parent
commit
1a1b01c7c4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/http_SUITE.erl

+ 1 - 1
test/http_SUITE.erl

@@ -618,7 +618,7 @@ onresponse_crash(Config) ->
 	Client = ?config(client, Config),
 	Client = ?config(client, Config),
 	{ok, Client2} = cowboy_client:request(<<"GET">>,
 	{ok, Client2} = cowboy_client:request(<<"GET">>,
 		build_url("/handler_errors?case=init_before_reply", Config), Client),
 		build_url("/handler_errors?case=init_before_reply", Config), Client),
-	{ok, 777, Headers, Client3} = cowboy_client:response(Client2),
+	{ok, 777, Headers, _} = cowboy_client:response(Client2),
 	{<<"x-hook">>, <<"onresponse">>} = lists:keyfind(<<"x-hook">>, 1, Headers).
 	{<<"x-hook">>, <<"onresponse">>} = lists:keyfind(<<"x-hook">>, 1, Headers).
 
 
 onresponse_reply(Config) ->
 onresponse_reply(Config) ->