From ec941a96c13c35e76aae4c39cfd66beccc34f250 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 10 Mar 2017 18:17:11 +0100 Subject: [PATCH] add assertion to make static analysis happy --- src/cadet/gnunet-service-cadet-new_channel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cadet/gnunet-service-cadet-new_channel.c b/src/cadet/gnunet-service-cadet-new_channel.c index 8769601c2..bce62032a 100644 --- a/src/cadet/gnunet-service-cadet-new_channel.c +++ b/src/cadet/gnunet-service-cadet-new_channel.c @@ -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, -- 2.25.1