From c25c564508c6909a06a2cfbbda62a571a10ed654 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 20 Jun 2010 16:28:34 +0000 Subject: [PATCH] redundant --- src/util/container_heap.c | 3 +-- 1 file changed, 1 insertion(+), 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) 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 { -- 2.25.1