com php-src: Typo: ext/intl/breakiterator/rulebasedbreakiterato r_methods.cpp ext/intl/msgformat/msgformat.c
| From: | Dmitry Stogov | Date: | Tue, 08 Jul 2014 20:15:27 +0000 |
| Subject: | com php-src: Typo: ext/intl/breakiterator/rulebasedbreakiterato r_methods.cpp ext/intl/msgformat/msgformat.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-79343@lists.php.net to get a copy of this message | ||
Commit: ca414c69040c66642b38d9f3aebe343265adc3f5
Author: Dmitry Stogov <dmitry@zend.com> Wed, 9 Jul 2014 00:15:27 +0400
Parents: b5e36ec236bf00f9c897691f3d02694438bfc2ba
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ca414c69040c66642b38d9f3aebe343265adc3f5
Log:
Typo
Changed paths:
M ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp
M ext/intl/msgformat/msgformat.c
Diff:
diff --git a/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp
b/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp
index c13a432..e171cf7 100644
--- a/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp
+++ b/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp
@@ -42,7 +42,7 @@ static void _php_intlrbbi_constructor_body(INTERNAL_FUNCTION_PARAMETERS)
&rules, &rules_len, &compiled) == FAILURE) {
intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR,
"rbbi_create_instance: bad arguments", 0 TSRMLS_CC);
- Z_OBJ_P(return_value) == NULL;
+ Z_OBJ_P(return_value) = NULL;
return;
}
@@ -72,7 +72,7 @@ static void _php_intlrbbi_constructor_body(INTERNAL_FUNCTION_PARAMETERS)
intl_error_set_custom_msg(NULL, msg, 1 TSRMLS_CC);
efree(msg);
delete rbbi;
- Z_OBJ_P(return_value) == NULL;
+ Z_OBJ_P(return_value) = NULL;
return;
}
} else { // compiled
@@ -81,13 +81,13 @@ static void _php_intlrbbi_constructor_body(INTERNAL_FUNCTION_PARAMETERS)
if (U_FAILURE(status)) {
intl_error_set(NULL, status, "rbbi_create_instance: unable to "
"create instance from compiled rules", 0 TSRMLS_CC);
- Z_OBJ_P(return_value) == NULL;
+ Z_OBJ_P(return_value) = NULL;
return;
}
#else
intl_error_set(NULL, U_UNSUPPORTED_ERROR, "rbbi_create_instance: "
"compiled rules require ICU >= 4.8", 0 TSRMLS_CC);
- Z_OBJ_P(return_value) == NULL;
+ Z_OBJ_P(return_value) = NULL;
return;
#endif
}
diff --git a/ext/intl/msgformat/msgformat.c b/ext/intl/msgformat/msgformat.c
index 853907c..6299943 100644
--- a/ext/intl/msgformat/msgformat.c
+++ b/ext/intl/msgformat/msgformat.c
@@ -44,7 +44,7 @@ static void msgfmt_ctor(INTERNAL_FUNCTION_PARAMETERS)
{
intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR,
"msgfmt_create: unable to parse input parameters", 0 TSRMLS_CC );
- Z_OBJ_P(return_value) == NULL;
+ Z_OBJ_P(return_value) = NULL;
return;
}