From a571665cb97b0def79d71afa7d7702245c36efab Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Tue, 14 Jan 2014 01:02:30 +0000 Subject: [PATCH] fix unused variable warning during compilation --- src/jsx_to_json.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jsx_to_json.erl b/src/jsx_to_json.erl index 2616200..11c3ea9 100644 --- a/src/jsx_to_json.erl +++ b/src/jsx_to_json.erl @@ -243,7 +243,7 @@ get_key({[{object, Key, _}|_], _}) -> Key; get_key(_) -> erlang:error(badarg). -get_value({Value, Config}) -> +get_value({Value, _Config}) -> case Value of Value when is_binary(Value) -> Value; _ -> erlang:error(badarg)