summaryrefslogtreecommitdiff
path: root/ext/intl/msgformat/msgformat_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/msgformat/msgformat_format.c')
-rw-r--r--ext/intl/msgformat/msgformat_format.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/intl/msgformat/msgformat_format.c b/ext/intl/msgformat/msgformat_format.c
index a11c167a4b..58c5dcb99a 100644
--- a/ext/intl/msgformat/msgformat_format.c
+++ b/ext/intl/msgformat/msgformat_format.c
@@ -65,9 +65,6 @@ PHP_FUNCTION( msgfmt_format )
if( zend_parse_method_parameters( ZEND_NUM_ARGS(), getThis(), "Oa",
&object, MessageFormatter_ce_ptr, &args ) == FAILURE )
{
- intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR,
- "msgfmt_format: unable to parse input params", 0 );
-
RETURN_FALSE;
}
@@ -99,9 +96,6 @@ PHP_FUNCTION( msgfmt_format_message )
if( zend_parse_method_parameters( ZEND_NUM_ARGS(), getThis(), "ssa",
&slocale, &slocale_len, &pattern, &pattern_len, &args ) == FAILURE )
{
- intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR,
- "msgfmt_format_message: unable to parse input params", 0 );
-
RETURN_FALSE;
}