From 2434be48038be745acc05186fe3b06753877589c Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Mon, 5 Sep 2011 15:13:54 +1000 Subject: [PATCH] Get rid of useless function clause --- src/treap.erl | 2 -- 1 file changed, 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,