diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-03-18 12:39:09 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-03-18 12:39:09 +0000 |
commit | ac43c850d772b5163348920ef77fa97453fd23f0 (patch) | |
tree | 89584ab1e2c526c5eaf66fc46c4df75897a352ad /src/util/container_heap.c | |
parent | 651ce7813c3726accadc0bf54952ed8a7d22407d (diff) | |
download | gnunet-ac43c850d772b5163348920ef77fa97453fd23f0.tar.gz gnunet-ac43c850d772b5163348920ef77fa97453fd23f0.zip |
remove initialize size to zero
Diffstat (limited to 'src/util/container_heap.c')
-rw-r--r-- | src/util/container_heap.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/util/container_heap.c b/src/util/container_heap.c index a32cb6c5c..78881d808 100644 --- a/src/util/container_heap.c +++ b/src/util/container_heap.c | |||
@@ -135,9 +135,6 @@ GNUNET_CONTAINER_heap_create (enum GNUNET_CONTAINER_HeapOrder order) | |||
135 | struct GNUNET_CONTAINER_Heap *heap; | 135 | struct GNUNET_CONTAINER_Heap *heap; |
136 | 136 | ||
137 | heap = GNUNET_malloc (sizeof (struct GNUNET_CONTAINER_Heap)); | 137 | heap = GNUNET_malloc (sizeof (struct GNUNET_CONTAINER_Heap)); |
138 | heap->walk_pos = NULL; | ||
139 | heap->root = NULL; | ||
140 | heap->size = 0; | ||
141 | heap->order = order; | 138 | heap->order = order; |
142 | return heap; | 139 | return heap; |
143 | } | 140 | } |