projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37befa0
)
add assertion to make static analysis happy
author
Christian Grothoff
<christian@grothoff.org>
Fri, 10 Mar 2017 16:51:28 +0000
(17:51 +0100)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 10 Mar 2017 16:51:28 +0000
(17:51 +0100)
src/testing/testing.c
patch
|
blob
|
history
diff --git
a/src/testing/testing.c
b/src/testing/testing.c
index bab7976ea6927d1648f1aea3c2232ffbfa80890b..ba7bf827e3ff86aa45093f6a0efd1edef4bf7c7d 100644
(file)
--- 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++;
}