fix unused variable warning during compilation

This commit is contained in:
alisdair sullivan 2014-01-14 01:02:30 +00:00
parent aa879c32ee
commit a571665cb9

View file

@ -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)