Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Remove unused proplists_merge.
  • Loading branch information
Tim Fletcher committed Nov 7, 2008
1 parent 96bb209 commit 60c906f6897dbf91c7e2d42365cbeb0dbfbb8061
Showing 1 changed file with 0 additions and 10 deletions.
@@ -37,13 +37,3 @@ esprintf(Fmt, Values) when is_tuple(Values) ->
esprintf(Fmt, tuple_to_list(Values));
esprintf(Fmt, Values) when is_list(Values) ->
fmt:sprintf(Fmt, [fmt:percent_encode(Value) || Value <- Values]).

proplists_merge({K,V}, Merged) ->
case proplists:is_defined(K, Merged) of
true ->
Merged;
false ->
[{K,V}|Merged]
end;
proplists_merge(A, B) ->
lists:foldl(fun proplists_merge/2, A, B).

0 comments on commit 60c906f

Please sign in to comment.