gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] 27/28: add assertion to make static analysis happy


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 27/28: add assertion to make static analysis happy
Date: Fri, 10 Mar 2017 18:19:11 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

commit ec941a96c13c35e76aae4c39cfd66beccc34f250
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Mar 10 18:17:11 2017 +0100

    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,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]