diff options
Diffstat (limited to 'g10/sqlite.c')
-rw-r--r-- | g10/sqlite.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/g10/sqlite.c b/g10/sqlite.c index 599a3ef5d..90490c297 100644 --- a/g10/sqlite.c +++ b/g10/sqlite.c @@ -21,7 +21,6 @@ #include <stdarg.h> #include <stdlib.h> #include <string.h> -#include <assert.h> #include "gpg.h" #include "util.h" @@ -88,7 +87,7 @@ sqlite3_stepx (sqlite3 *db, stmt = *stmtp; /* Make sure this statement is associated with the supplied db. */ - assert (db == sqlite3_db_handle (stmt)); + log_assert (db == sqlite3_db_handle (stmt)); #if DEBUG_TOFU_CACHE prepares_saved ++; @@ -171,7 +170,7 @@ sqlite3_stepx (sqlite3 *db, } t = va_arg (va, enum sqlite_arg_type); - assert (t == SQLITE_ARG_END); + log_assert (t == SQLITE_ARG_END); va_end (va); for (;;) |