From 96c69fb04eb55d627849c5120081462b6ca81893 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 16 Dec 2014 08:52:19 +0200 Subject: Fix a shadow var warning in a property --- src/cow_http_hd.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/cow_http_hd.erl b/src/cow_http_hd.erl index 1672d2a..23d627b 100644 --- a/src/cow_http_hd.erl +++ b/src/cow_http_hd.erl @@ -436,9 +436,9 @@ prop_parse_accept_charset() -> << _, AcceptCharset/binary >> = iolist_to_binary([[$,, A] || {_, _, A} <- L]), ResL = parse_accept_charset(AcceptCharset), CheckedL = [begin - ResC =:= ?INLINE_LOWERCASE_BC(C) + ResC =:= ?INLINE_LOWERCASE_BC(Ch) andalso (ResW =:= W orelse (W =:= undefined andalso ResW =:= 1000)) - end || {{C, W, _}, {ResC, ResW}} <- lists:zip(L, ResL)], + end || {{Ch, W, _}, {ResC, ResW}} <- lists:zip(L, ResL)], [true] =:= lists:usort(CheckedL) end). -- cgit v1.2.3