diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-02-22 12:33:36 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-02-22 12:33:36 +0000 |
commit | ca4afef263ca2530ac74b4eb036ae4fcac9e1426 (patch) | |
tree | 56b2bb7ff61ea9d4f3035d2e089b6705b3813ba8 /src/fs/gnunet-helper-fs-publish.c | |
parent | 291a9374bac1fbcae94557584ae62b64ace61bb5 (diff) | |
download | gnunet-ca4afef263ca2530ac74b4eb036ae4fcac9e1426.tar.gz gnunet-ca4afef263ca2530ac74b4eb036ae4fcac9e1426.zip |
-dce: can never be NULL
Diffstat (limited to 'src/fs/gnunet-helper-fs-publish.c')
-rw-r--r-- | src/fs/gnunet-helper-fs-publish.c | 7 |
1 files 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, | |||
253 | return GNUNET_SYSERR; | 253 | return GNUNET_SYSERR; |
254 | } | 254 | } |
255 | chld->parent = rc->parent; | 255 | chld->parent = rc->parent; |
256 | if (NULL != rc->parent) | 256 | GNUNET_CONTAINER_DLL_insert (rc->parent->children_head, |
257 | GNUNET_CONTAINER_DLL_insert (rc->parent->children_head, | 257 | rc->parent->children_tail, |
258 | rc->parent->children_tail, | 258 | chld); |
259 | chld); | ||
260 | return GNUNET_OK; | 259 | return GNUNET_OK; |
261 | } | 260 | } |
262 | 261 | ||