summaryrefslogtreecommitdiff
path: root/ext/intl/msgformat/msgformat_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/msgformat/msgformat_parse.c')
-rw-r--r--ext/intl/msgformat/msgformat_parse.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/intl/msgformat/msgformat_parse.c b/ext/intl/msgformat/msgformat_parse.c
index c517288bff..e1de6a883f 100644
--- a/ext/intl/msgformat/msgformat_parse.c
+++ b/ext/intl/msgformat/msgformat_parse.c
@@ -69,9 +69,6 @@ PHP_FUNCTION( msgfmt_parse )
if( zend_parse_method_parameters( ZEND_NUM_ARGS(), getThis(), "Os",
&object, MessageFormatter_ce_ptr, &source, &source_len ) == FAILURE )
{
- intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR,
- "msgfmt_parse: unable to parse input params", 0 );
-
RETURN_FALSE;
}
@@ -104,9 +101,6 @@ PHP_FUNCTION( msgfmt_parse_message )
if( zend_parse_parameters( ZEND_NUM_ARGS(), "sss",
&slocale, &slocale_len, &pattern, &pattern_len, &source, &src_len ) == FAILURE )
{
- intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR,
- "msgfmt_parse_message: unable to parse input params", 0 );
-
RETURN_FALSE;
}