diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-21 15:15:28 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-21 15:15:28 +0100 |
commit | aae42f85cf3192581e758fa70d461137a738efb4 (patch) | |
tree | aaf4fd1db79fd0a31ea3c082411f14d35fd0e600 | |
parent | 1dcc14eca0f134d103ad2412260e6a912408339f (diff) | |
download | gnunet-aae42f85cf3192581e758fa70d461137a738efb4.tar.gz gnunet-aae42f85cf3192581e758fa70d461137a738efb4.zip |
-avoid warnings
-rw-r--r-- | src/include/gnunet_pq_lib.h | 10 | ||||
-rw-r--r-- | 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 | |||
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 | */ |
61 | int | 61 | enum GNUNET_GenericReturnValue |
62 | GNUNET_PQ_prepare_statements (struct GNUNET_PQ_Context *db, | 62 | GNUNET_PQ_prepare_statements (struct GNUNET_PQ_Context *db, |
63 | const struct GNUNET_PQ_PreparedStatement *ps) | 63 | const struct GNUNET_PQ_PreparedStatement *ps) |
64 | { | 64 | { |