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:
parent
dd772404c5
commit
b0b371d23a
@ -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).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user