aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index e1c71f9..51ae8e4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -98,7 +98,6 @@ static int table_next_id(sqlite3 *db, const char *table)
snprintf(sql, sizeof(sql)-1, "SELECT MAX(id) FROM %s;", table);
rc = sqlite3_exec(db, sql, table_next_id_callback, &last_id, NULL);
sqlite3_check(rc, db);
- assert(last_id >= 0);
printf("%s: debug: last id for table \"%s\" is %d\n", __func__, table, last_id);
return last_id + 1;
}