db: make db_exec_prepared_v2 return void.

It calls db_fatal() if it fails anyway, so don't expect anyone to check.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2023-04-05 12:30:24 +09:30
parent 9bcf28afb3
commit df9552bcc1
4 changed files with 11 additions and 21 deletions

View File

@@ -34,7 +34,7 @@ bool db_step(struct db_stmt *stmt);
*
* @stmt: The prepared statement to execute
*/
bool db_exec_prepared_v2(struct db_stmt *stmt TAKES);
void db_exec_prepared_v2(struct db_stmt *stmt TAKES);
/**
* db_query_prepared -- Execute a prepared query