From a199ba7fe61d1ea0aa7f9dcd4083ae2e52546c40 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 22 Aug 2022 00:08:28 +0200 Subject: -fix some clang warnings --- src/exchangedb/plugin_exchangedb_postgres.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/exchangedb/plugin_exchangedb_postgres.c') diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 481c2730..5fb79797 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -10210,6 +10210,7 @@ reserve_expired_cb (void *cls, ret = GNUNET_SYSERR; break; } + // FIXME: ret here is a qs! Bad enum conversion! FIX DESIGN!!! ret = erc->rec (erc->rec_cls, &reserve_pub, &remaining_balance, @@ -15300,6 +15301,7 @@ postgres_delete_shard_locks (void *cls) GNUNET_PQ_EXECUTE_STATEMENT_END }; + // FIXME: rval is a GNUNET_GenericReturnValue, not DB status! return GNUNET_PQ_exec_statements (pg->conn, es); } -- cgit v1.2.3