[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -fix compiler warnings
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -fix compiler warnings |
Date: |
Wed, 10 Jan 2024 10:31:36 +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 9c1fcd73 -fix compiler warnings
9c1fcd73 is described below
commit 9c1fcd730e6a113f0807d737f932bba6a2b8c27f
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Jan 10 10:31:34 2024 +0100
-fix compiler warnings
---
contrib/gana | 2 +-
doc/prebuilt | 2 +-
src/auditor/taler-auditor-httpd_deposit-confirmation.c | 11 +++++++----
3 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/contrib/gana b/contrib/gana
index 6d3fb428..9eddc2cf 160000
--- a/contrib/gana
+++ b/contrib/gana
@@ -1 +1 @@
-Subproject commit 6d3fb428f0a2dd5bc5f35516ea77c32c2cf0ecfa
+Subproject commit 9eddc2cf7b65bb43d285c75ef22fd9bc9cc7020e
diff --git a/doc/prebuilt b/doc/prebuilt
index 5e47a72e..5e7026c5 160000
--- a/doc/prebuilt
+++ b/doc/prebuilt
@@ -1 +1 @@
-Subproject commit 5e47a72e8a2b5086dfdae4078f695155f5ed7af8
+Subproject commit 5e7026c5cef101c90b6dc58096e0a0946ef11b08
diff --git a/src/auditor/taler-auditor-httpd_deposit-confirmation.c
b/src/auditor/taler-auditor-httpd_deposit-confirmation.c
index 9a3e5475..2631c6f5 100644
--- a/src/auditor/taler-auditor-httpd_deposit-confirmation.c
+++ b/src/auditor/taler-auditor-httpd_deposit-confirmation.c
@@ -459,10 +459,13 @@ TEAH_DEPOSIT_CONFIRMATION_done (void)
* Add deposit confirmation to the list.
*
* @param[in,out] cls a `json_t *` array to extend
+ * @param serial_id location of the @a dc in the database
* @param dc struct of deposit confirmation
+ * @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
-static void
+static enum GNUNET_GenericReturnValue
add_deposit_confirmation (void *cls,
+ uint64_t serial_id,
const struct TALER_AUDITORDB_DepositConfirmation *dc)
{
json_t *list = cls;
@@ -474,7 +477,7 @@ add_deposit_confirmation (void *cls,
GNUNET_break (0 ==
json_array_append_new (list,
obj));
-
+ return GNUNET_OK;
}
@@ -513,11 +516,11 @@ TAH_DEPOSIT_CONFIRMATION_get (struct TAH_RequestHandler
*rh,
ja = json_array ();
GNUNET_break (NULL != ja);
// TODO correct below
- struct TALER_AUDITORDB_ProgressPointDepositConfirmation ppdc;
+ struct TALER_AUDITORDB_ProgressPointDepositConfirmation ppdc = { 0 }; //
FIXME: initialize...
qs = TAH_plugin->get_deposit_confirmations (
TAH_plugin->cls,
- &TAH_plugin,
+ NULL, /* FIXME: master-public key to be removed! */
ppdc.last_deposit_confirmation_serial_id,
&add_deposit_confirmation,
ja);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.