gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: assertions to make compiler happ


From: gnunet
Subject: [taler-exchange] branch master updated: assertions to make compiler happy
Date: Wed, 10 May 2023 00:27:36 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new aedd13a7 assertions to make compiler happy
aedd13a7 is described below

commit aedd13a77856ebc9344643571d9e13cc93297b05
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed May 10 00:27:33 2023 +0200

    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 a7ccf800..2b4bf855 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 832863f3..fb00fb53 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,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]