com php-src: remove unread var: ext/pdo_dblib/dblib_stmt. c
| From: | Adam Baratz | Date: | Thu, 27 Oct 2016 16:15:01 +0000 |
| Subject: | com php-src: remove unread var: ext/pdo_dblib/dblib_stmt. c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95306@lists.php.net to get a copy of this message | ||
Commit: 3d35f0b3b2099639705229ff7bfe618bccbebd0e
Author: Adam Baratz <adambaratz@php.net> Thu, 27 Oct 2016 12:15:01 -0400
Parents: 6b931b813f43bfd24969948b531385e5b68586fb
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3d35f0b3b2099639705229ff7bfe618bccbebd0e
Log:
remove unread var
Changed paths:
M ext/pdo_dblib/dblib_stmt.c
Diff:
diff --git a/ext/pdo_dblib/dblib_stmt.c b/ext/pdo_dblib/dblib_stmt.c
index a230db2..7e7b8ed 100644
--- a/ext/pdo_dblib/dblib_stmt.c
+++ b/ext/pdo_dblib/dblib_stmt.c
@@ -167,7 +167,6 @@ static int pdo_dblib_stmt_execute(pdo_stmt_t *stmt)
{
pdo_dblib_stmt *S = (pdo_dblib_stmt*)stmt->driver_data;
pdo_dblib_db_handle *H = S->H;
- RETCODE ret;
dbsetuserdata(H->link, (BYTE*) &S->err);
@@ -181,7 +180,7 @@ static int pdo_dblib_stmt_execute(pdo_stmt_t *stmt)
return 0;
}
- ret = pdo_dblib_stmt_next_rowset_no_cancel(stmt);
+ pdo_dblib_stmt_next_rowset_no_cancel(stmt);
stmt->row_count = DBCOUNT(H->link);
stmt->column_count = dbnumcols(H->link);