From: Christian Grothoff Date: Sun, 20 Jun 2010 16:28:34 +0000 (+0000) Subject: redundant X-Git-Tag: initial-import-from-subversion-38251~21315 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c25c564508c6909a06a2cfbbda62a571a10ed654;p=oweals%2Fgnunet.git redundant --- 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 {