25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +01:00

Get rid of useless function clause

This commit is contained in:
Evgeniy Khramtsov 2011-09-05 15:13:54 +10:00
parent 41d028d101
commit 2434be4803

View File

@ -63,8 +63,6 @@ insert1({HashKey1, Priority1, Value1, Left, Right} = Tree,
insert1(delete_root(Tree), HashKey, Priority, Value) insert1(delete_root(Tree), HashKey, Priority, Value)
end. end.
heapify(nil) ->
nil;
heapify({_HashKey, _Priority, _Value, nil, nil} = Tree) -> heapify({_HashKey, _Priority, _Value, nil, nil} = Tree) ->
Tree; Tree;
heapify({HashKey, Priority, Value, heapify({HashKey, Priority, Value,