diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-08-22 00:08:28 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-08-22 00:08:28 +0200 |
commit | a199ba7fe61d1ea0aa7f9dcd4083ae2e52546c40 (patch) | |
tree | f2b9992c964d3979a95fd31223445bff4b65730e /src/exchangedb | |
parent | a5b9fce18310364052f0455f971e139297bfa507 (diff) | |
download | exchange-a199ba7fe61d1ea0aa7f9dcd4083ae2e52546c40.tar.xz |
-fix some clang warnings
Diffstat (limited to 'src/exchangedb')
-rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 481c27304..5fb797978 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); } |