add assertion to make static analysis happy
authorChristian Grothoff <christian@grothoff.org>
Fri, 10 Mar 2017 17:17:11 +0000 (18:17 +0100)
committerChristian Grothoff <christian@grothoff.org>
Fri, 10 Mar 2017 17:17:11 +0000 (18:17 +0100)
src/cadet/gnunet-service-cadet-new_channel.c

index 8769601c201a4ddb6c8c4f4c9b3a0da44993fe31..bce62032aedd73a4fedeae4d91b2db9a14dda575 100644 (file)
@@ -1808,6 +1808,7 @@ GCCH_handle_local_data (struct CadetChannel *ch,
       GNUNET_break (0);
       return GNUNET_SYSERR;
     }
+    GNUNET_assert (NULL != receiver);
     ld->ccn = receiver->ccn;
     GNUNET_memcpy (&ld[1],
                    buf,