From: Wez Furlong Date: Sun, 13 Feb 2005 06:42:19 +0000 (+0000) Subject: Fix variable declaration X-Git-Tag: RELEASE_0_2_3~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=81999fdeba766fd2b015cb8248f01aa88626d28e;p=php Fix variable declaration --- diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index b70eda3d24..07fbedd673 100755 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -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)) {