commit aedd13a77856ebc9344643571d9e13cc93297b05
parent 1cf58e8ff8efc82f0e8bf1a058047d48b86e060e
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 10 May 2023 00:27:33 +0200
assertions to make compiler happy
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/auditor/taler-auditor-sync.c b/src/auditor/taler-auditor-sync.c
@@ -605,6 +605,9 @@ main (int argc,
level,
NULL));
GNUNET_free (level);
+ /* suppress compiler warnings... */
+ GNUNET_assert (NULL != src_cfgfile);
+ GNUNET_assert (NULL != dst_cfgfile);
if (0 == strcmp (src_cfgfile,
dst_cfgfile))
{
diff --git a/src/json/json.c b/src/json/json.c
@@ -655,6 +655,7 @@ parse_path (json_t *obj,
json_t *next_obj = NULL;
char *next_dot;
+ GNUNET_assert (NULL != id); /* make stupid compiler happy */
if (NULL == next_id)
{
cb (cb_cls,