From: Christian Grothoff Date: Wed, 22 Feb 2012 12:33:36 +0000 (+0000) Subject: -dce: can never be NULL X-Git-Tag: initial-import-from-subversion-38251~14734 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ca4afef263ca2530ac74b4eb036ae4fcac9e1426;p=oweals%2Fgnunet.git -dce: can never be NULL --- 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; }