help static analysis
authorChristian Grothoff <christian@grothoff.org>
Tue, 15 Mar 2011 10:00:14 +0000 (10:00 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 15 Mar 2011 10:00:14 +0000 (10:00 +0000)
src/datastore/plugin_datastore_postgres.c

index aa92d7620908512e6abbb9050a6cbe92912cdd0f..18ad7788576e055c30bec6ed0fdff9d787649e2c 100644 (file)
@@ -350,8 +350,8 @@ init_connection (struct Plugin *plugin)
                       (ret,
                        PG_DIAG_SQLSTATE)))))
     {
-      check_result (plugin,
-                   ret, PGRES_COMMAND_OK, "CREATE TABLE", "gn090", __LINE__);
+      (void) check_result (plugin,
+                          ret, PGRES_COMMAND_OK, "CREATE TABLE", "gn090", __LINE__);
       PQfinish (plugin->dbh);
       plugin->dbh = NULL;
       return GNUNET_SYSERR;