diff options
| author | Andrey Hristov <andrey@php.net> | 2010-10-06 06:08:55 +0000 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 2010-10-06 06:08:55 +0000 |
| commit | b373ccd6fce4736302eab4d5278d0c0dbc77bf4d (patch) | |
| tree | f3222749723efe6156bfb0242cd0b8cbe06a7a68 /ext/mysqli/mysqli.c | |
| parent | b5831c05b35ce6b7078abab2a8e9c06e91790ac7 (diff) | |
| download | php-git-b373ccd6fce4736302eab4d5278d0c0dbc77bf4d.tar.gz | |
fix shadowing of parameters
Diffstat (limited to 'ext/mysqli/mysqli.c')
| -rw-r--r-- | ext/mysqli/mysqli.c | 6 |
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; |
