add assertion to make static analysis happy
authorChristian Grothoff <christian@grothoff.org>
Fri, 10 Mar 2017 16:51:28 +0000 (17:51 +0100)
committerChristian Grothoff <christian@grothoff.org>
Fri, 10 Mar 2017 16:51:28 +0000 (17:51 +0100)
src/testing/testing.c

index bab7976ea6927d1648f1aea3c2232ffbfa80890b..ba7bf827e3ff86aa45093f6a0efd1edef4bf7c7d 100644 (file)
@@ -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++;
       }