25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-08 15:42:29 +01:00

Get rid of useless function clause

This commit is contained in:
Evgeniy Khramtsov 2011-09-05 15:06:43 +10:00
parent dd772404c5
commit b0b371d23a

View File

@ -888,7 +888,6 @@ make_sid() ->
sha:sha(randoms:get_string()). sha:sha(randoms:get_string()).
-compile({no_auto_import,[min/2]}). -compile({no_auto_import,[min/2]}).
min(A, undefined) -> A;
min(undefined, B) -> B; min(undefined, B) -> B;
min(A, B) -> erlang:min(A, B). min(A, B) -> erlang:min(A, B).