projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7e6a15
)
redundant
author
Christian Grothoff
<christian@grothoff.org>
Sun, 20 Jun 2010 16:28:34 +0000
(16:28 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sun, 20 Jun 2010 16:28:34 +0000
(16:28 +0000)
src/util/container_heap.c
patch
|
blob
|
history
diff --git
a/src/util/container_heap.c
b/src/util/container_heap.c
index 78881d8081d898aa8b67c357cc17081b7dfa0cd6..7cd30a0a740c784a04d90fd1f172ac1b59dd2c8b 100644
(file)
--- 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
{