diff options
| author | Tristan Riehs <tristan.riehs@inria.fr> | 2025-11-16 15:52:34 +0100 |
|---|---|---|
| committer | Tristan Riehs <tristan.riehs@inria.fr> | 2025-11-16 15:52:34 +0100 |
| commit | 436673d30e387682f37171f5b27b0cd72ef64efb (patch) | |
| tree | 805665feb5b8787874d7f6d2c6320a2be6935a40 /src/main.c | |
| parent | 8cdf9c79b7a25493bff0d16035430900e1320bd5 (diff) | |
Remove bad assert
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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; } |
