aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorTristan Riehs <tristan.riehs@inria.fr>2025-11-16 15:52:34 +0100
committerTristan Riehs <tristan.riehs@inria.fr>2025-11-16 15:52:34 +0100
commit436673d30e387682f37171f5b27b0cd72ef64efb (patch)
tree805665feb5b8787874d7f6d2c6320a2be6935a40 /src/main.c
parent8cdf9c79b7a25493bff0d16035430900e1320bd5 (diff)
Remove bad assert
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;
}