diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-06-20 16:28:34 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-06-20 16:28:34 +0000 |
commit | c25c564508c6909a06a2cfbbda62a571a10ed654 (patch) | |
tree | 5d271f0588278c20b35883279b5c02c5903bae68 /src/util/container_heap.c | |
parent | f7e6a15e96565fa49ed62402b503254981c2b464 (diff) | |
download | gnunet-c25c564508c6909a06a2cfbbda62a571a10ed654.tar.gz gnunet-c25c564508c6909a06a2cfbbda62a571a10ed654.zip |
redundant
Diffstat (limited to 'src/util/container_heap.c')
-rw-r--r-- | src/util/container_heap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/container_heap.c b/src/util/container_heap.c index 78881d808..7cd30a0a7 100644 --- a/src/util/container_heap.c +++ b/src/util/container_heap.c | |||
@@ -378,8 +378,7 @@ GNUNET_CONTAINER_heap_remove_root (struct GNUNET_CONTAINER_Heap *heap) | |||
378 | else if (root->right_child == NULL) | 378 | else if (root->right_child == NULL) |
379 | { | 379 | { |
380 | heap->root = root->left_child; | 380 | heap->root = root->left_child; |
381 | if (root->left_child != NULL) | 381 | root->left_child->parent = NULL; |
382 | root->left_child->parent = NULL; | ||
383 | } | 382 | } |
384 | else | 383 | else |
385 | { | 384 | { |