aboutsummaryrefslogtreecommitdiff
path: root/src/datastore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-03-15 10:00:14 +0000
committerChristian Grothoff <christian@grothoff.org>2011-03-15 10:00:14 +0000
commit1e4b14df7222f249112399812bd9d2df15ab5139 (patch)
tree54d1803b476fb65a153d8e5c0b009f70f219eca4 /src/datastore
parent704fb68a88a7202129daff80ef0e123b39b7bfac (diff)
downloadgnunet-1e4b14df7222f249112399812bd9d2df15ab5139.tar.gz
gnunet-1e4b14df7222f249112399812bd9d2df15ab5139.zip
help static analysis
Diffstat (limited to 'src/datastore')
-rw-r--r--src/datastore/plugin_datastore_postgres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datastore/plugin_datastore_postgres.c b/src/datastore/plugin_datastore_postgres.c
index aa92d7620..18ad77885 100644
--- a/src/datastore/plugin_datastore_postgres.c
+++ b/src/datastore/plugin_datastore_postgres.c
@@ -350,8 +350,8 @@ init_connection (struct Plugin *plugin)
350 (ret, 350 (ret,
351 PG_DIAG_SQLSTATE))))) 351 PG_DIAG_SQLSTATE)))))
352 { 352 {
353 check_result (plugin, 353 (void) check_result (plugin,
354 ret, PGRES_COMMAND_OK, "CREATE TABLE", "gn090", __LINE__); 354 ret, PGRES_COMMAND_OK, "CREATE TABLE", "gn090", __LINE__);
355 PQfinish (plugin->dbh); 355 PQfinish (plugin->dbh);
356 plugin->dbh = NULL; 356 plugin->dbh = NULL;
357 return GNUNET_SYSERR; 357 return GNUNET_SYSERR;