summaryrefslogtreecommitdiff
path: root/ext/odbc/php_odbc.c
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-03-18 10:32:03 -0300
committerJoe Watkins <krakjoe@php.net>2018-03-27 22:04:26 +0200
commita09c851ca9e34da5c3ba57c80b27963c9bed43e8 (patch)
tree4d5d01eec660ec77f97688f76b0c7de9db8ebbee /ext/odbc/php_odbc.c
parentf37e95a443c24b10f7528e240ee78f8937c217de (diff)
downloadphp-git-a09c851ca9e34da5c3ba57c80b27963c9bed43e8.tar.gz
Remove, or fix, unused variables
Diffstat (limited to 'ext/odbc/php_odbc.c')
-rw-r--r--ext/odbc/php_odbc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c
index a95c1f8dd4..8675665444 100644
--- a/ext/odbc/php_odbc.c
+++ b/ext/odbc/php_odbc.c
@@ -1630,7 +1630,6 @@ PHP_FUNCTION(odbc_exec)
{
zval *pv_conn;
zend_long pv_flags;
- int numArgs;
char *query;
size_t query_len;
odbc_result *result = NULL;
@@ -1640,8 +1639,6 @@ PHP_FUNCTION(odbc_exec)
SQLUINTEGER scrollopts;
#endif
- numArgs = ZEND_NUM_ARGS();
-
if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|l", &pv_conn, &query, &query_len, &pv_flags) == FAILURE) {
return;
}