From 436673d30e387682f37171f5b27b0cd72ef64efb Mon Sep 17 00:00:00 2001 From: Tristan Riehs Date: Sun, 16 Nov 2025 15:52:34 +0100 Subject: Remove bad assert --- src/main.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3