[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: avoid compiler warning
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: avoid compiler warning |
Date: |
Wed, 04 Aug 2021 12:04:30 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 928eb956 avoid compiler warning
928eb956 is described below
commit 928eb9561f331fb7491c562c7651ea7c2549e0cb
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed Aug 4 12:04:20 2021 +0200
avoid compiler warning
---
contrib/merchant-backoffice | 2 +-
src/backenddb/plugin_merchantdb_postgres.c | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/contrib/merchant-backoffice b/contrib/merchant-backoffice
index fe987187..4320467d 160000
--- a/contrib/merchant-backoffice
+++ b/contrib/merchant-backoffice
@@ -1 +1 @@
-Subproject commit fe987187e178816d42ed12178d430c8771cb5a75
+Subproject commit 4320467db1392e5f48a4acd079f7e2a253cf9984
diff --git a/src/backenddb/plugin_merchantdb_postgres.c
b/src/backenddb/plugin_merchantdb_postgres.c
index 8671a69f..0001a8e6 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -1331,7 +1331,7 @@ static void
postgres_expire_locks (void *cls)
{
struct PostgresClosure *pg = cls;
- struct GNUNET_TIME_Absolute now;
+ struct GNUNET_TIME_Absolute now = GNUNET_TIME_absolute_get ();
struct GNUNET_PQ_QueryParam params[] = {
GNUNET_PQ_query_param_absolute_time (&now),
GNUNET_PQ_query_param_end
@@ -1340,7 +1340,6 @@ postgres_expire_locks (void *cls)
enum GNUNET_DB_QueryStatus qs2;
check_connection (pg);
- now = GNUNET_TIME_absolute_get ();
qs1 = GNUNET_PQ_eval_prepared_non_select (pg->conn,
"unlock_products",
params);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: avoid compiler warning,
gnunet <=