gnunet-svn
[Top][All Lists]
Advanced

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

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


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

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

grothoff pushed a commit to branch master
in repository gnunet.

commit 70007393fe832a3da849cf697797da96845e2698
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Mar 10 17:51:28 2017 +0100

    add assertion to make static analysis happy
---
 src/testing/testing.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/testing/testing.c b/src/testing/testing.c
index bab7976ea..ba7bf827e 100644
--- a/src/testing/testing.c
+++ b/src/testing/testing.c
@@ -907,6 +907,7 @@ update_config_sections (void *cls,
       {
         ikeys[key] = ptr;
         ptr = strstr (ptr, ";");
+        GNUNET_assert (NULL != ptr); /* worked just before... */
         *ptr = '\0';
         ptr++;
       }

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



reply via email to

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