gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: -avoid warnings


From: gnunet
Subject: [gnunet] branch master updated: -avoid warnings
Date: Sun, 21 Nov 2021 15:15:30 +0100

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

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new aae42f85c -avoid warnings
aae42f85c is described below

commit aae42f85cf3192581e758fa70d461137a738efb4
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Nov 21 15:15:28 2021 +0100

    -avoid warnings
---
 src/include/gnunet_pq_lib.h | 10 +++++++++-
 src/pq/pq_prepare.c         |  2 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/include/gnunet_pq_lib.h b/src/include/gnunet_pq_lib.h
index 6a2227581..549ce3638 100644
--- a/src/include/gnunet_pq_lib.h
+++ b/src/include/gnunet_pq_lib.h
@@ -335,7 +335,15 @@ struct GNUNET_PQ_ResultSpec
  */
 #define GNUNET_PQ_result_spec_end         \
   {                                       \
-    NULL, NULL, NULL, NULL, 0, NULL, NULL \
+    .conv = NULL,                         \
+    .cleaner = NULL,                      \
+    .cls = NULL,                          \
+    .dst = NULL,                          \
+    .dst_size = 0,                        \
+    .fname = NULL,                        \
+    .result_size = NULL,                  \
+    .is_nullable = false,                 \
+    .is_null = NULL                       \
   }
 
 
diff --git a/src/pq/pq_prepare.c b/src/pq/pq_prepare.c
index 63087456f..76fc5c374 100644
--- a/src/pq/pq_prepare.c
+++ b/src/pq/pq_prepare.c
@@ -58,7 +58,7 @@ GNUNET_PQ_make_prepare (const char *name,
  * @return #GNUNET_OK on success,
  *         #GNUNET_SYSERR on error
  */
-int
+enum GNUNET_GenericReturnValue
 GNUNET_PQ_prepare_statements (struct GNUNET_PQ_Context *db,
                               const struct GNUNET_PQ_PreparedStatement *ps)
 {

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