gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] 50/124: -fix linker issue


From: gnunet
Subject: [taler-exchange] 50/124: -fix linker issue
Date: Tue, 17 Sep 2024 21:27:42 +0200

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

grothoff pushed a commit to tag cg-aml-branch-compiles
in repository exchange.

commit 53267217e14e70c045b712002a10ca193de44343
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Jun 3 17:28:24 2024 +0200

    -fix linker issue
---
 src/exchangedb/Makefile.am                        |  2 +-
 src/exchangedb/pg_lookup_kyc_requirement_by_row.c |  2 --
 src/exchangedb/test_exchangedb.c                  | 25 +++++++++--------------
 src/mhd/Makefile.am                               |  2 +-
 4 files changed, 12 insertions(+), 19 deletions(-)

diff --git a/src/exchangedb/Makefile.am b/src/exchangedb/Makefile.am
index 19e204f35..f846370cd 100644
--- a/src/exchangedb/Makefile.am
+++ b/src/exchangedb/Makefile.am
@@ -280,9 +280,9 @@ libtaler_plugin_exchangedb_postgres_la_SOURCES = \
   pg_select_purse_deposits_above_serial_id.h 
pg_select_purse_deposits_above_serial_id.c \
   pg_select_account_merges_above_serial_id.h 
pg_select_account_merges_above_serial_id.c \
   pg_select_all_purse_decisions_above_serial_id.h 
pg_select_all_purse_decisions_above_serial_id.c \
+  pg_lookup_kyc_requirement_by_row.h pg_lookup_kyc_requirement_by_row.c \
   pg_select_reserve_open_above_serial_id.c 
pg_select_reserve_open_above_serial_id.h
 
-#  pg_lookup_kyc_requirement_by_row.h pg_lookup_kyc_requirement_by_row.c
 #  pg_select_justification_for_missing_wire.h 
pg_select_justification_for_missing_wire.c
 #  pg_select_aml_process.h pg_select_aml_process.c
 #  pg_select_aml_history.h pg_select_aml_history.c
diff --git a/src/exchangedb/pg_lookup_kyc_requirement_by_row.c 
b/src/exchangedb/pg_lookup_kyc_requirement_by_row.c
index 8f625b2bf..7bdaf2de6 100644
--- a/src/exchangedb/pg_lookup_kyc_requirement_by_row.c
+++ b/src/exchangedb/pg_lookup_kyc_requirement_by_row.c
@@ -37,7 +37,6 @@ TEH_PG_lookup_kyc_requirement_by_row (
   bool *kyc_required)
 {
   struct PostgresClosure *pg = cls;
-  uint32_t status = TALER_AML_NORMAL;
   struct GNUNET_PQ_QueryParam params[] = {
     GNUNET_PQ_query_param_uint64 (&requirement_row),
     GNUNET_PQ_query_param_end
@@ -59,7 +58,6 @@ TEH_PG_lookup_kyc_requirement_by_row (
                                 kyc_required),
     GNUNET_PQ_result_spec_end
   };
-  enum GNUNET_DB_QueryStatus qs;
 
   *jrules = NULL;
   memset (account_pub,
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c
index 22788a562..cb78d0544 100644
--- a/src/exchangedb/test_exchangedb.c
+++ b/src/exchangedb/test_exchangedb.c
@@ -34,25 +34,25 @@ static int result;
  * Report line of error if @a cond is true, and jump to label "drop".
  */
 #define FAILIF(cond)                            \
-  do {                                          \
-    if (! (cond)) { break;}                     \
-    GNUNET_break (0);                           \
-    goto drop;                                  \
-  } while (0)
+        do {                                          \
+          if (! (cond)) { break;}                     \
+          GNUNET_break (0);                           \
+          goto drop;                                  \
+        } while (0)
 
 
 /**
  * Initializes @a ptr with random data.
  */
 #define RND_BLK(ptr)                                                    \
-  GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_WEAK, ptr, \
-                              sizeof (*ptr))
+        GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_WEAK, ptr, \
+                                    sizeof (*ptr))
 
 /**
  * Initializes @a ptr with zeros.
  */
 #define ZR_BLK(ptr) \
-  memset (ptr, 0, sizeof (*ptr))
+        memset (ptr, 0, sizeof (*ptr))
 
 
 /**
@@ -984,7 +984,6 @@ test_wire_out (const struct TALER_EXCHANGEDB_BatchDeposit 
*bd)
     struct TALER_Amount coin_fee2;
     struct GNUNET_TIME_Timestamp execution_time2;
     struct TALER_EXCHANGEDB_KycStatus kyc;
-    enum TALER_AmlDecisionState aml;
 
     h_contract_terms_wt2.hash.bits[0]++;
     FAILIF (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS !=
@@ -998,8 +997,7 @@ test_wire_out (const struct TALER_EXCHANGEDB_BatchDeposit 
*bd)
                                                 &execution_time2,
                                                 &coin_contribution2,
                                                 &coin_fee2,
-                                                &kyc,
-                                                &aml));
+                                                &kyc));
   }
   {
     struct TALER_ReservePublicKeyP rpub;
@@ -1031,7 +1029,6 @@ test_wire_out (const struct TALER_EXCHANGEDB_BatchDeposit 
*bd)
     struct TALER_Amount coin_fee2;
     struct GNUNET_TIME_Timestamp execution_time2;
     struct TALER_EXCHANGEDB_KycStatus kyc;
-    enum TALER_AmlDecisionState aml = TALER_AML_FROZEN;
 
     FAILIF (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT !=
             plugin->lookup_transfer_by_deposit (plugin->cls,
@@ -1044,9 +1041,7 @@ test_wire_out (const struct TALER_EXCHANGEDB_BatchDeposit 
*bd)
                                                 &execution_time2,
                                                 &coin_contribution2,
                                                 &coin_fee2,
-                                                &kyc,
-                                                &aml));
-    FAILIF (TALER_AML_NORMAL != aml);
+                                                &kyc));
     GNUNET_assert (0 == GNUNET_memcmp (&wtid2,
                                        &wire_out_wtid));
     GNUNET_assert (GNUNET_TIME_timestamp_cmp (execution_time2,
diff --git a/src/mhd/Makefile.am b/src/mhd/Makefile.am
index 563ebf398..6dec80c09 100644
--- a/src/mhd/Makefile.am
+++ b/src/mhd/Makefile.am
@@ -17,7 +17,7 @@ libtalermhd_la_SOURCES = \
   mhd_run.c \
   mhd_spa.c
 libtalermhd_la_LDFLAGS = \
-  -version-info 3:1:3 \
+  -version-info 4:0:4 \
   -no-undefined
 libtalermhd_la_LIBADD = \
   $(top_builddir)/src/json/libtalerjson.la \

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