From ca4afef263ca2530ac74b4eb036ae4fcac9e1426 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 22 Feb 2012 12:33:36 +0000 Subject: [PATCH] -dce: can never be NULL --- src/fs/gnunet-helper-fs-publish.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/fs/gnunet-helper-fs-publish.c b/src/fs/gnunet-helper-fs-publish.c index e9bcc5f38..94da0ce19 100644 --- a/src/fs/gnunet-helper-fs-publish.c +++ b/src/fs/gnunet-helper-fs-publish.c @@ -253,10 +253,9 @@ scan_callback (void *cls, return GNUNET_SYSERR; } chld->parent = rc->parent; - if (NULL != rc->parent) - GNUNET_CONTAINER_DLL_insert (rc->parent->children_head, - rc->parent->children_tail, - chld); + GNUNET_CONTAINER_DLL_insert (rc->parent->children_head, + rc->parent->children_tail, + chld); return GNUNET_OK; } -- 2.25.1