From: Christian Grothoff Date: Fri, 10 Mar 2017 16:51:28 +0000 (+0100) Subject: add assertion to make static analysis happy X-Git-Tag: gnunet-0.11.0rc0~291^2~18 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=70007393fe832a3da849cf697797da96845e2698;p=oweals%2Fgnunet.git add assertion to make static analysis happy --- 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++; }