diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-13 18:09:28 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-13 18:09:28 +0100 |
commit | 7898eb1be882b49db0ed0613839d094c79c6275a (patch) | |
tree | d62af1d772b3f7a51785b9323e71e0d82b9f5d14 /src/sq | |
parent | d012e0579a2819ce68ab14fc986a8c999fb05e60 (diff) |
check sqlite3_close() return value in test
Diffstat (limited to 'src/sq')
-rw-r--r-- | src/sq/test_sq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sq/test_sq.c b/src/sq/test_sq.c index 42c321666d..6387eda31d 100644 --- a/src/sq/test_sq.c +++ b/src/sq/test_sq.c @@ -271,7 +271,8 @@ main(int argc, "Failed to drop table\n"); ret = 1; } - sqlite3_close (dbh); + GNUNET_break (SQLITE_OK == + sqlite3_close (dbh)); if (0 != unlink ("test.db")) GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "unlink", |