gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: fix return


From: gnunet
Subject: [taler-exchange] branch master updated: fix return
Date: Sat, 02 Apr 2022 14:25:12 +0200

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

marco-boss pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new ca536c03 fix return
ca536c03 is described below

commit ca536c0379f316330a62508a754195eb53ba0e17
Author: Marco Boss <bossm8@bfh.ch>
AuthorDate: Sat Apr 2 14:25:04 2022 +0200

    fix return
---
 src/exchangedb/plugin_exchangedb_postgres.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/exchangedb/plugin_exchangedb_postgres.c 
b/src/exchangedb/plugin_exchangedb_postgres.c
index 1d14cb73..53b84ce8 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -211,7 +211,7 @@ postgres_create_shard_tables (void *cls,
 {
   struct PostgresClosure *pg = cls;
   struct GNUNET_PQ_Context *conn;
-  enum GNUNET_GenericReturnValue ret;
+  enum GNUNET_GenericReturnValue ret = GNUNET_OK;
   struct GNUNET_PQ_QueryParam params[] = {
     GNUNET_PQ_query_param_uint32 (&idx),
     GNUNET_PQ_query_param_end
@@ -254,7 +254,7 @@ postgres_setup_partitions (void *cls,
 {
   struct PostgresClosure *pg = cls;
   struct GNUNET_PQ_Context *conn;
-  enum GNUNET_GenericReturnValue ret;
+  enum GNUNET_GenericReturnValue ret = GNUNET_OK;
   struct GNUNET_PQ_QueryParam params[] = {
     GNUNET_PQ_query_param_uint32 (&num),
     GNUNET_PQ_query_param_end
@@ -298,7 +298,7 @@ postgres_setup_foreign_servers (void *cls,
 {
   struct PostgresClosure *pg = cls;
   struct GNUNET_PQ_Context *conn;
-  enum GNUNET_GenericReturnValue ret;
+  enum GNUNET_GenericReturnValue ret = GNUNET_OK;
   struct GNUNET_PQ_QueryParam params[] = {
     GNUNET_PQ_query_param_uint32 (&num),
     GNUNET_PQ_query_param_end

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