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) |
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 78881d8081..7cd30a0a74 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) else if (root->right_child == NULL) { heap->root = root->left_child; - if (root->left_child != NULL) - root->left_child->parent = NULL; + root->left_child->parent = NULL; } else { |