commit ec941a96c13c35e76aae4c39cfd66beccc34f250
parent d773b6f69d1be9bf7f89758714920cd5495ddd5d
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 10 Mar 2017 18:17:11 +0100
add assertion to make static analysis happy
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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,