]> granicus.if.org Git - php/commitdiff
Fix variable declaration
authorWez Furlong <wez@php.net>
Sun, 13 Feb 2005 06:42:19 +0000 (06:42 +0000)
committerWez Furlong <wez@php.net>
Sun, 13 Feb 2005 06:42:19 +0000 (06:42 +0000)
ext/pdo/pdo_stmt.c

index b70eda3d240596d8c6ace34d90d0bdb40a5cb0fb..07fbedd67351d692e9968e6bfcd7424a2dd9a9c3 100755 (executable)
@@ -82,7 +82,7 @@ static inline int rewrite_name_to_position(pdo_stmt_t *stmt, struct pdo_bound_pa
                 * we will raise an error, as we can't be sure that it is safe
                 * to bind multiple parameters onto the same zval in the underlying
                 * driver */
-               char **name;
+               char *name;
                int position = 0;
                zend_hash_internal_pointer_reset(stmt->bound_param_map);
                while (SUCCESS == zend_hash_get_current_data(stmt->bound_param_map, (void**)&name)) {