summaryrefslogtreecommitdiff
path: root/ext/intl/collator/collator_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/collator/collator_create.c')
-rw-r--r--ext/intl/collator/collator_create.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/intl/collator/collator_create.c b/ext/intl/collator/collator_create.c
index e674e90f89..e5bc724b48 100644
--- a/ext/intl/collator/collator_create.c
+++ b/ext/intl/collator/collator_create.c
@@ -38,8 +38,6 @@ static int collator_ctor(INTERNAL_FUNCTION_PARAMETERS, zend_bool is_constructor)
if( zend_parse_parameters( ZEND_NUM_ARGS(), "s",
&locale, &locale_len ) == FAILURE )
{
- intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR,
- "collator_create: unable to parse input params", 0 );
return FAILURE;
}