From 81999fdeba766fd2b015cb8248f01aa88626d28e Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 13 Feb 2005 06:42:19 +0000 Subject: [PATCH] Fix variable declaration --- ext/pdo/pdo_stmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.50.1