com php-src: Remove unused variable: ext/odbc/php_odbc.c
| From: | Peter Kokot | Date: | Sun, 12 May 2019 01:23:37 +0000 |
| Subject: | com php-src: Remove unused variable: ext/odbc/php_odbc.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106139@lists.php.net to get a copy of this message | ||
Commit: f1552c864f8b89d59be3a51929bd3411e8947c54
Author: Peter Kokot <peterkokot@gmail.com> Sun, 12 May 2019 03:23:37 +0200
Parents: 188ece856d9300ef68adb73604b5de848b1276bb
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f1552c864f8b89d59be3a51929bd3411e8947c54
Log:
Remove unused variable
Changed paths:
M ext/odbc/php_odbc.c
Diff:
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c
index c37d3a4..37257c3 100644
--- a/ext/odbc/php_odbc.c
+++ b/ext/odbc/php_odbc.c
@@ -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);