Permalink
Browse files

Fix unused clause Dialyzer warnings in yaws_rss

  • Loading branch information...
1 parent 6f61f74 commit 2f8a8c6cbd1abffcb84a4894ce9cf2357069b07b @tuncer tuncer committed with vinoski Feb 23, 2011
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/yaws_rss.erl
View
@@ -467,11 +467,9 @@ u_insert(E, [H|T]) -> [H|u_insert(E,T)];
u_insert(E, []) -> [E].
-i2l(I) when is_integer(I) -> integer_to_list(I);
-i2l(L) when is_list(L) -> L.
+i2l(I) when is_integer(I) -> integer_to_list(I).
-a2l(A) when is_atom(A) -> atom_to_list(A);
-a2l(L) when is_list(L) -> L.
+a2l(A) when is_atom(A) -> atom_to_list(A).

0 comments on commit 2f8a8c6

Please sign in to comment.