aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2011-09-05 15:13:54 +1000
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2011-09-05 15:13:54 +1000
commit2434be48038be745acc05186fe3b06753877589c (patch)
tree2b3b113c67bad26a8e081a045700452a09e3771a /src
parentFirst check occupant existence, later check the message (diff)
Get rid of useless function clause
Diffstat (limited to 'src')
-rw-r--r--src/treap.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/treap.erl b/src/treap.erl
index 4c2fd35a6..2bc740303 100644
--- a/src/treap.erl
+++ b/src/treap.erl
@@ -63,8 +63,6 @@ insert1({HashKey1, Priority1, Value1, Left, Right} = Tree,
insert1(delete_root(Tree), HashKey, Priority, Value)
end.
-heapify(nil) ->
- nil;
heapify({_HashKey, _Priority, _Value, nil, nil} = Tree) ->
Tree;
heapify({HashKey, Priority, Value,