gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: -cleanup


From: gnunet
Subject: [taler-exchange] branch master updated: -cleanup
Date: Fri, 22 Dec 2023 15:51:08 +0100

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 28116298 -cleanup
28116298 is described below

commit 28116298feca3b3c8eaa9cf4cbb69517b795f6ed
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Fri Dec 22 22:50:58 2023 +0800

    -cleanup
---
 src/json/json_helper.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/json/json_helper.c b/src/json/json_helper.c
index e1670d0d..b339ff68 100644
--- a/src/json/json_helper.c
+++ b/src/json/json_helper.c
@@ -184,7 +184,6 @@ parse_cspec (void *cls,
   const char *emsg;
   unsigned int eline;
 
-  (void) cls;
   memset (r_cspec->currency,
           0,
           sizeof (r_cspec->currency));
@@ -261,10 +260,10 @@ TALER_JSON_spec_currency_specification (
   struct GNUNET_JSON_Specification ret = {
     .parser = &parse_cspec,
     .cleaner = &clean_cspec,
-    .cls = currency,
+    .cls = (void *) currency,
     .field = name,
     .ptr = r_cspec,
-    .ptr_size = 0,
+    .ptr_size = sizeof (*r_cspec),
     .size_ptr = NULL
   };
 

-- 
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]