summaryrefslogtreecommitdiff
path: root/src/testing
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 /src/testing
parent37befa0743678992d8943ed6549be9690084570c (diff)
add assertion to make static analysis happy
Diffstat (limited to 'src/testing')
-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,
{
ikeys[key] = ptr;
ptr = strstr (ptr, ";");
+ GNUNET_assert (NULL != ptr); /* worked just before... */
*ptr = '\0';
ptr++;
}