cvs: php-src(PHP_5_3) /ext/intl intl_error.c
| From: | Stanislav Malyshev | Date: | Sun, 10 May 2009 20:58:26 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/intl intl_error.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-57693@lists.php.net to get a copy of this message | ||
stas Sun May 10 20:58:26 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/intl intl_error.c
Log:
revent wrong part
http://cvs.php.net/viewvc.cgi/php-src/ext/intl/intl_error.c?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/intl/intl_error.c
diff -u php-src/ext/intl/intl_error.c:1.1.2.3 php-src/ext/intl/intl_error.c:1.1.2.4
--- php-src/ext/intl/intl_error.c:1.1.2.3 Sun May 10 19:10:36 2009
+++ php-src/ext/intl/intl_error.c Sun May 10 20:58:26 2009
@@ -173,9 +173,7 @@
*/
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 );
}
/* }}} */