From 06000724e76e60842ef772025ea430844900e03e Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Sun, 10 May 2009 20:58:26 +0000 Subject: [PATCH] revent wrong part --- ext/intl/intl_error.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ext/intl/intl_error.c b/ext/intl/intl_error.c index 15b61a78bc..44f668b195 100755 --- a/ext/intl/intl_error.c +++ b/ext/intl/intl_error.c @@ -173,9 +173,7 @@ UErrorCode intl_error_get_code( intl_error* err TSRMLS_DC ) */ void intl_error_set( intl_error* err, UErrorCode code, char* msg, int copyMsg TSRMLS_DC ) { - if(err) { - intl_error_set_code( err, code TSRMLS_CC ); - } + intl_error_set_code( err, code TSRMLS_CC ); intl_error_set_custom_msg( err, msg, copyMsg TSRMLS_CC ); } /* }}} */ -- 2.40.0