summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-05-10 00:27:33 +0200
committerChristian Grothoff <christian@grothoff.org>2023-05-10 00:27:33 +0200
commitaedd13a77856ebc9344643571d9e13cc93297b05 (patch)
tree40be359731886d76ddd0334141a7267c6c549de7
parent1cf58e8ff8efc82f0e8bf1a058047d48b86e060e (diff)
downloadexchange-aedd13a77856ebc9344643571d9e13cc93297b05.tar.gz
exchange-aedd13a77856ebc9344643571d9e13cc93297b05.tar.bz2
exchange-aedd13a77856ebc9344643571d9e13cc93297b05.zip
assertions to make compiler happy
-rw-r--r--src/auditor/taler-auditor-sync.c3
-rw-r--r--src/json/json.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/auditor/taler-auditor-sync.c b/src/auditor/taler-auditor-sync.c
index a7ccf800a..2b4bf8558 100644
--- 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
index 832863f31..fb00fb535 100644
--- 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,