diff options
author | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-01-04 04:42:48 -0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-01-06 21:38:09 +0100 |
commit | a56ea44431c5c0350a7183959e8a1b9464bad98e (patch) | |
tree | 97fbfca7591db41248339c15014903d40a941360 | |
parent | e3f58de30baf927b5d1e56fc99b38d2c49238513 (diff) | |
download | php-git-a56ea44431c5c0350a7183959e8a1b9464bad98e.tar.gz |
Remove trailing whitespace in C++ files
[ci skip]
-rw-r--r-- | ext/intl/calendar/gregoriancalendar_methods.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/intl/calendar/gregoriancalendar_methods.cpp b/ext/intl/calendar/gregoriancalendar_methods.cpp index 13ff6a75a7..ab8ab76796 100644 --- a/ext/intl/calendar/gregoriancalendar_methods.cpp +++ b/ext/intl/calendar/gregoriancalendar_methods.cpp @@ -57,7 +57,7 @@ static void _php_intlgregcal_constructor_body( zend_get_parameters_array_ex(ZEND_NUM_ARGS(), args) == FAILURE) { intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, "intlgregcal_create_instance: too many arguments", 0); - if (!is_constructor) { + if (!is_constructor) { zval_dtor(return_value); RETVAL_NULL(); } @@ -70,7 +70,7 @@ static void _php_intlgregcal_constructor_body( intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, "intlgregcal_create_instance: no variant with 4 arguments " "(excluding trailing NULLs)", 0); - if (!is_constructor) { + if (!is_constructor) { zval_dtor(return_value); RETVAL_NULL(); } @@ -83,7 +83,7 @@ static void _php_intlgregcal_constructor_body( "|z!s!", &tz_object, &locale, &locale_len) == FAILURE) { intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, "intlgregcal_create_instance: bad arguments", 0); - if (!is_constructor) { + if (!is_constructor) { zval_dtor(return_value); RETVAL_NULL(); } @@ -95,7 +95,7 @@ static void _php_intlgregcal_constructor_body( &largs[5]) == FAILURE) { intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, "intlgregcal_create_instance: bad arguments", 0); - if (!is_constructor) { + if (!is_constructor) { zval_dtor(return_value); RETVAL_NULL(); } @@ -113,7 +113,7 @@ static void _php_intlgregcal_constructor_body( if (!EG(exception)) { zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); } - if (!is_constructor) { + if (!is_constructor) { zval_dtor(return_value); RETVAL_NULL(); } @@ -132,7 +132,7 @@ static void _php_intlgregcal_constructor_body( delete gcal; } delete tz; - if (!is_constructor) { + if (!is_constructor) { zval_dtor(return_value); RETVAL_NULL(); } @@ -145,7 +145,7 @@ static void _php_intlgregcal_constructor_body( intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, "intlgregcal_create_instance: at least one of the arguments" " has an absolute value that is too large", 0); - if (!is_constructor) { + if (!is_constructor) { zval_dtor(return_value); RETVAL_NULL(); } @@ -170,7 +170,7 @@ static void _php_intlgregcal_constructor_body( if (gcal) { delete gcal; } - if (!is_constructor) { + if (!is_constructor) { zval_dtor(return_value); RETVAL_NULL(); } @@ -190,7 +190,7 @@ static void _php_intlgregcal_constructor_body( "from PHP's default timezone name (see date_default_timezone_get())", 0); delete gcal; - if (!is_constructor) { + if (!is_constructor) { zval_dtor(return_value); RETVAL_NULL(); } |