diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-10 17:51:28 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-10 17:51:28 +0100 |
commit | 70007393fe832a3da849cf697797da96845e2698 (patch) | |
tree | 4c2a5929f7af3efb0384c7efe5147136e2ffed94 | |
parent | 37befa0743678992d8943ed6549be9690084570c (diff) |
add assertion to make static analysis happy
-rw-r--r-- | src/testing/testing.c | 1 |
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++; } |