one more rval check
authorChristian Grothoff <christian@grothoff.org>
Mon, 13 Mar 2017 17:25:15 +0000 (18:25 +0100)
committerChristian Grothoff <christian@grothoff.org>
Mon, 13 Mar 2017 17:25:15 +0000 (18:25 +0100)
src/sq/test_sq.c

index 6387eda31d4622d511a59f68a7d519b9e7ebd50f..71380903052e1fb9d2aa16a6b81c9b23b939a99d 100644 (file)
@@ -253,7 +253,8 @@ main(int argc,
   {
     fprintf (stderr,
             "Failed to create table\n");
-    sqlite3_close (dbh);
+    GNUNET_break (SQLITE_OK ==
+                  sqlite3_close (dbh));
     if (0 != unlink ("test.db"))
       GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR,
                                 "unlink",