projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix
[oweals/gnunet.git]
/
src
/
util
/
container_heap.c
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
{