-dce: can never be NULL
authorChristian Grothoff <christian@grothoff.org>
Wed, 22 Feb 2012 12:33:36 +0000 (12:33 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 22 Feb 2012 12:33:36 +0000 (12:33 +0000)
src/fs/gnunet-helper-fs-publish.c

index e9bcc5f3803a6af4088053cc4cef9be0e65f9a94..94da0ce198f60c2826bf95a91132657c8eb80452 100644 (file)
@@ -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;
 }