From ca414c69040c66642b38d9f3aebe343265adc3f5 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 9 Jul 2014 00:15:27 +0400 Subject: [PATCH] Typo --- ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp | 8 ++++---- ext/intl/msgformat/msgformat.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp b/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp index c13a432605..e171cf76ab 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 853907ce3d..62999436c2 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; } -- 2.40.0