mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Remove unused variable
This commit is contained in:
parent
188ece856d
commit
f1552c864f
1 changed files with 1 additions and 2 deletions
|
@ -417,7 +417,6 @@ static void _free_odbc_result(zend_resource *rsrc)
|
|||
{
|
||||
odbc_result *res = (odbc_result *)rsrc->ptr;
|
||||
int i;
|
||||
RETCODE rc;
|
||||
|
||||
if (res) {
|
||||
if (res->values) {
|
||||
|
@ -434,7 +433,7 @@ static void _free_odbc_result(zend_resource *rsrc)
|
|||
SQLTransact(res->conn_ptr->henv, res->conn_ptr->hdbc,
|
||||
(SQLUSMALLINT) SQL_COMMIT);
|
||||
#endif
|
||||
rc = SQLFreeStmt(res->stmt,SQL_DROP);
|
||||
SQLFreeStmt(res->stmt,SQL_DROP);
|
||||
/* We don't want the connection to be closed after the last statement has been closed
|
||||
* Connections will be closed on shutdown
|
||||
* zend_list_delete(res->conn_ptr->id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue