assertions to make compiler happy

This commit is contained in:
Christian Grothoff 2023-05-10 00:27:33 +02:00
parent 1cf58e8ff8
commit aedd13a778
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 4 additions and 0 deletions

View File

@ -605,6 +605,9 @@ main (int argc,
level, level,
NULL)); NULL));
GNUNET_free (level); GNUNET_free (level);
/* suppress compiler warnings... */
GNUNET_assert (NULL != src_cfgfile);
GNUNET_assert (NULL != dst_cfgfile);
if (0 == strcmp (src_cfgfile, if (0 == strcmp (src_cfgfile,
dst_cfgfile)) dst_cfgfile))
{ {

View File

@ -655,6 +655,7 @@ parse_path (json_t *obj,
json_t *next_obj = NULL; json_t *next_obj = NULL;
char *next_dot; char *next_dot;
GNUNET_assert (NULL != id); /* make stupid compiler happy */
if (NULL == next_id) if (NULL == next_id)
{ {
cb (cb_cls, cb (cb_cls,