diff options
author | Stanislav Malyshev <stas@php.net> | 2009-05-10 20:58:26 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2009-05-10 20:58:26 +0000 |
commit | 06000724e76e60842ef772025ea430844900e03e (patch) | |
tree | 33bc0e761c765b91f843e858d40de971cf1b76b7 /ext/intl/intl_error.c | |
parent | f306943799b185d5e332b3ae7eefc61f1a312bf0 (diff) | |
download | php-git-06000724e76e60842ef772025ea430844900e03e.tar.gz |
revent wrong part
Diffstat (limited to 'ext/intl/intl_error.c')
-rwxr-xr-x | ext/intl/intl_error.c | 4 |
1 files changed, 1 insertions, 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 ); } /* }}} */ |