summaryrefslogtreecommitdiff
path: root/ext/readline/readline_cli.c
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2014-12-23 22:00:18 +0100
committerNikita Popov <nikic@php.net>2014-12-26 21:06:18 +0100
commit2d212b426a22c9d9f357be0a6832ced9a3fff073 (patch)
treef1d0ec807cca7add558b6282b85e136e2e5a9bfd /ext/readline/readline_cli.c
parent3d12fc796b0048ab498f82ac497476129a7976e7 (diff)
downloadphp-git-2d212b426a22c9d9f357be0a6832ced9a3fff073.tar.gz
Drop duplicate arg from hash_get_current_key_ex
Diffstat (limited to 'ext/readline/readline_cli.c')
-rw-r--r--ext/readline/readline_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/readline_cli.c b/ext/readline/readline_cli.c
index b739fbfd4b..40af798335 100644
--- a/ext/readline/readline_cli.c
+++ b/ext/readline/readline_cli.c
@@ -409,7 +409,7 @@ static char *cli_completion_generator_ht(const char *text, int textlen, int *sta
(*state)++;
}
while(zend_hash_has_more_elements(ht) == SUCCESS) {
- zend_hash_get_current_key(ht, &name, &number, 0);
+ zend_hash_get_current_key(ht, &name, &number);
if (!textlen || !strncmp(name->val, text, textlen)) {
if (pData) {
*pData = zend_hash_get_current_data_ptr(ht);