From aedd13a77856ebc9344643571d9e13cc93297b05 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 10 May 2023 00:27:33 +0200 Subject: [PATCH] assertions to make compiler happy --- src/auditor/taler-auditor-sync.c | 3 +++ src/json/json.c | 1 + 2 files changed, 4 insertions(+) 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,