aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-10 17:51:28 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-10 17:51:28 +0100
commit70007393fe832a3da849cf697797da96845e2698 (patch)
tree4c2a5929f7af3efb0384c7efe5147136e2ffed94
parent37befa0743678992d8943ed6549be9690084570c (diff)
downloadgnunet-70007393fe832a3da849cf697797da96845e2698.tar.gz
gnunet-70007393fe832a3da849cf697797da96845e2698.zip
add assertion to make static analysis happy
-rw-r--r--src/testing/testing.c1
1 files changed, 1 insertions, 0 deletions
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,
907 { 907 {
908 ikeys[key] = ptr; 908 ikeys[key] = ptr;
909 ptr = strstr (ptr, ";"); 909 ptr = strstr (ptr, ";");
910 GNUNET_assert (NULL != ptr); /* worked just before... */
910 *ptr = '\0'; 911 *ptr = '\0';
911 ptr++; 912 ptr++;
912 } 913 }