summaryrefslogtreecommitdiff
path: root/src/exchangedb/plugin_exchangedb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-08-22 00:08:28 +0200
committerChristian Grothoff <christian@grothoff.org>2022-08-22 00:08:28 +0200
commita199ba7fe61d1ea0aa7f9dcd4083ae2e52546c40 (patch)
treef2b9992c964d3979a95fd31223445bff4b65730e /src/exchangedb/plugin_exchangedb_postgres.c
parenta5b9fce18310364052f0455f971e139297bfa507 (diff)
downloadexchange-a199ba7fe61d1ea0aa7f9dcd4083ae2e52546c40.tar.gz
exchange-a199ba7fe61d1ea0aa7f9dcd4083ae2e52546c40.tar.bz2
exchange-a199ba7fe61d1ea0aa7f9dcd4083ae2e52546c40.zip
-fix some clang warnings
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c2
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);
}