summaryrefslogtreecommitdiff
path: root/ext/pdo_dblib
diff options
context:
space:
mode:
authorAdam Baratz <adambaratz@php.net>2016-10-27 12:15:01 -0400
committerAdam Baratz <adambaratz@php.net>2016-10-27 12:15:01 -0400
commit3d35f0b3b2099639705229ff7bfe618bccbebd0e (patch)
tree0d311d3d825f95abce42ebd6886d4ec9c067da8a /ext/pdo_dblib
parent6b931b813f43bfd24969948b531385e5b68586fb (diff)
downloadphp-git-3d35f0b3b2099639705229ff7bfe618bccbebd0e.tar.gz
remove unread var
Diffstat (limited to 'ext/pdo_dblib')
-rw-r--r--ext/pdo_dblib/dblib_stmt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/pdo_dblib/dblib_stmt.c b/ext/pdo_dblib/dblib_stmt.c
index a230db2984..7e7b8ed568 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);