Skip to content

Commit 608ef3d

Browse files
committed
[libc++][NFC] Remove trailing whitespace
1 parent 4a39436 commit 608ef3d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

libcxx/src/support/ibm/xlocale_zos.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ locale_t newlocale(int category_mask, const char* locale, locale_t base) {
3131
}
3232
}
3333
}
34-
34+
3535
// Create new locale.
3636
locale_t newloc = new locale_struct();
3737

@@ -74,18 +74,18 @@ locale_t uselocale(locale_t newloc) {
7474

7575
if (newloc) {
7676
// Set locales and check for errors.
77-
bool is_error =
78-
(newloc->category_mask & LC_COLLATE_MASK &&
77+
bool is_error =
78+
(newloc->category_mask & LC_COLLATE_MASK &&
7979
setlocale(LC_COLLATE, newloc->lc_collate.c_str()) == NULL) ||
80-
(newloc->category_mask & LC_CTYPE_MASK &&
80+
(newloc->category_mask & LC_CTYPE_MASK &&
8181
setlocale(LC_CTYPE, newloc->lc_ctype.c_str()) == NULL) ||
82-
(newloc->category_mask & LC_MONETARY_MASK &&
82+
(newloc->category_mask & LC_MONETARY_MASK &&
8383
setlocale(LC_MONETARY, newloc->lc_monetary.c_str()) == NULL) ||
84-
(newloc->category_mask & LC_NUMERIC_MASK &&
84+
(newloc->category_mask & LC_NUMERIC_MASK &&
8585
setlocale(LC_NUMERIC, newloc->lc_numeric.c_str()) == NULL) ||
86-
(newloc->category_mask & LC_TIME_MASK &&
86+
(newloc->category_mask & LC_TIME_MASK &&
8787
setlocale(LC_TIME, newloc->lc_time.c_str()) == NULL) ||
88-
(newloc->category_mask & LC_MESSAGES_MASK &&
88+
(newloc->category_mask & LC_MESSAGES_MASK &&
8989
setlocale(LC_MESSAGES, newloc->lc_messages.c_str()) == NULL);
9090

9191
if (is_error) {

0 commit comments

Comments
 (0)