summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2010-10-06 06:08:55 +0000
committerAndrey Hristov <andrey@php.net>2010-10-06 06:08:55 +0000
commitb373ccd6fce4736302eab4d5278d0c0dbc77bf4d (patch)
treef3222749723efe6156bfb0242cd0b8cbe06a7a68 /ext/mysqli/mysqli.c
parentb5831c05b35ce6b7078abab2a8e9c06e91790ac7 (diff)
downloadphp-git-b373ccd6fce4736302eab4d5278d0c0dbc77bf4d.tar.gz
fix shadowing of parameters
Diffstat (limited to 'ext/mysqli/mysqli.c')
-rw-r--r--ext/mysqli/mysqli.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c
index c226bc2f5f..90c8ab4bff 100644
--- a/ext/mysqli/mysqli.c
+++ b/ext/mysqli/mysqli.c
@@ -1235,12 +1235,12 @@ void php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAMETERS, int override_flags
fci.retval_ptr_ptr = &retval_ptr;
if (ctor_params && Z_TYPE_P(ctor_params) != IS_NULL) {
if (Z_TYPE_P(ctor_params) == IS_ARRAY) {
- HashTable *ht = Z_ARRVAL_P(ctor_params);
+ HashTable *params_ht = Z_ARRVAL_P(ctor_params);
Bucket *p;
fci.param_count = 0;
- fci.params = safe_emalloc(sizeof(zval*), ht->nNumOfElements, 0);
- p = ht->pListHead;
+ fci.params = safe_emalloc(sizeof(zval*), params_ht->nNumOfElements, 0);
+ p = params_ht->pListHead;
while (p != NULL) {
fci.params[fci.param_count++] = (zval**)p->pData;
p = p->pListNext;