aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-11-21 15:15:28 +0100
committerChristian Grothoff <christian@grothoff.org>2021-11-21 15:15:28 +0100
commitaae42f85cf3192581e758fa70d461137a738efb4 (patch)
treeaaf4fd1db79fd0a31ea3c082411f14d35fd0e600
parent1dcc14eca0f134d103ad2412260e6a912408339f (diff)
downloadgnunet-aae42f85cf3192581e758fa70d461137a738efb4.tar.gz
gnunet-aae42f85cf3192581e758fa70d461137a738efb4.zip
-avoid warnings
-rw-r--r--src/include/gnunet_pq_lib.h10
-rw-r--r--src/pq/pq_prepare.c2
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
335 */ 335 */
336#define GNUNET_PQ_result_spec_end \ 336#define GNUNET_PQ_result_spec_end \
337 { \ 337 { \
338 NULL, NULL, NULL, NULL, 0, NULL, NULL \ 338 .conv = NULL, \
339 .cleaner = NULL, \
340 .cls = NULL, \
341 .dst = NULL, \
342 .dst_size = 0, \
343 .fname = NULL, \
344 .result_size = NULL, \
345 .is_nullable = false, \
346 .is_null = NULL \
339 } 347 }
340 348
341 349
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,
58 * @return #GNUNET_OK on success, 58 * @return #GNUNET_OK on success,
59 * #GNUNET_SYSERR on error 59 * #GNUNET_SYSERR on error
60 */ 60 */
61int 61enum GNUNET_GenericReturnValue
62GNUNET_PQ_prepare_statements (struct GNUNET_PQ_Context *db, 62GNUNET_PQ_prepare_statements (struct GNUNET_PQ_Context *db,
63 const struct GNUNET_PQ_PreparedStatement *ps) 63 const struct GNUNET_PQ_PreparedStatement *ps)
64{ 64{