projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ad96e1
)
useless
author
Christian Grothoff
<christian@grothoff.org>
Tue, 22 Sep 2009 19:13:41 +0000
(19:13 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 22 Sep 2009 19:13:41 +0000
(19:13 +0000)
src/util/container_heap.c
patch
|
blob
|
history
diff --git
a/src/util/container_heap.c
b/src/util/container_heap.c
index fd5838f60cdccd449d92ef867b0a5644241079f7..c420a0ae44f955bbc898ac6df234a601bc2bb4ec 100644
(file)
--- a/
src/util/container_heap.c
+++ b/
src/util/container_heap.c
@@
-124,12
+124,8
@@
GNUNET_CONTAINER_heap_create (enum GNUNET_CONTAINER_HeapOrder type)
void
GNUNET_CONTAINER_heap_destroy (struct GNUNET_CONTAINER_Heap *heap)
{
- void *unused;
while (heap->size > 0)
- {
- unused = GNUNET_CONTAINER_heap_remove_root (heap);
- }
-
+ GNUNET_CONTAINER_heap_remove_root (heap);
GNUNET_free (heap);
return;
}