summaryrefslogtreecommitdiff
path: root/ext/gettext/gettext.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gettext/gettext.c')
-rw-r--r--ext/gettext/gettext.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/gettext/gettext.c b/ext/gettext/gettext.c
index 6169888ce2..44e8a354a7 100644
--- a/ext/gettext/gettext.c
+++ b/ext/gettext/gettext.c
@@ -189,15 +189,9 @@ PHP_NAMED_FUNCTION(zif_gettext)
char *msgstr;
zend_string *msgid;
-#ifndef FAST_ZPP
- if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &msgid) == FAILURE) {
- return;
- }
-#else
ZEND_PARSE_PARAMETERS_START(1, 1)
Z_PARAM_STR(msgid)
ZEND_PARSE_PARAMETERS_END();
-#endif
PHP_GETTEXT_LENGTH_CHECK("msgid", ZSTR_LEN(msgid))
msgstr = gettext(ZSTR_VAL(msgid));