diff options
author | George Peter Banyard <girgias@php.net> | 2020-12-24 01:08:06 +0100 |
---|---|---|
committer | George Peter Banyard <girgias@php.net> | 2021-01-06 10:20:57 +0000 |
commit | 53ba72ec03b05800de94c3e4f3f8c96aae70185d (patch) | |
tree | 7d719d289014337db5a7d6fd0e6015710c5ee320 /ext/pdo_sqlite/sqlite_driver.c | |
parent | 954d3743cce0390f4435cf118d20b84a7320a836 (diff) | |
download | php-git-53ba72ec03b05800de94c3e4f3f8c96aae70185d.tar.gz |
Voidify PDO's closer handler
Diffstat (limited to 'ext/pdo_sqlite/sqlite_driver.c')
-rw-r--r-- | ext/pdo_sqlite/sqlite_driver.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/pdo_sqlite/sqlite_driver.c b/ext/pdo_sqlite/sqlite_driver.c index 9998ef2d20..8e1ea1d2b3 100644 --- a/ext/pdo_sqlite/sqlite_driver.c +++ b/ext/pdo_sqlite/sqlite_driver.c @@ -148,7 +148,7 @@ static void pdo_sqlite_cleanup_callbacks(pdo_sqlite_db_handle *H) } } -static int sqlite_handle_closer(pdo_dbh_t *dbh) /* {{{ */ +static void sqlite_handle_closer(pdo_dbh_t *dbh) /* {{{ */ { pdo_sqlite_db_handle *H = (pdo_sqlite_db_handle *)dbh->driver_data; @@ -171,7 +171,6 @@ static int sqlite_handle_closer(pdo_dbh_t *dbh) /* {{{ */ pefree(H, dbh->is_persistent); dbh->driver_data = NULL; } - return 0; } /* }}} */ |