Skip to content

Commit 1972407

Browse files
committed
locale.c: Comments/white-space
1 parent 83197ba commit 1972407

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

locale.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2755,11 +2755,11 @@ S_calculate_LC_ALL_string(pTHX_ const char ** category_locales_list,
27552755
*
27562756
* The caller sets 'returning' to
27572757
* WANT_TEMP_PV the function returns the calculated string
2758-
* as a mmortalized temporary, so the caller
2758+
* as a mortalized temporary, so the caller
27592759
* doesn't have to worry about it being
27602760
* per-thread, nor needs to arrange for its
27612761
* clean-up.
2762-
* WANT_VOID NULL is returned. This is used when the
2762+
* WANT_VOID NULL is returned. This is used when the
27632763
* function is being called only for its side
27642764
* effect of updating
27652765
* PL_curlocales[LC_ALL_INDEX_]
@@ -2899,8 +2899,6 @@ S_calculate_LC_ALL_string(pTHX_ const char ** category_locales_list,
28992899
}
29002900

29012901
bool free_if_void_return = false;
2902-
2903-
/* Done iterating through all the categories. */
29042902
const char * retval;
29052903

29062904
/* If all categories have the same locale, we already know the answer */
@@ -2916,12 +2914,14 @@ S_calculate_LC_ALL_string(pTHX_ const char ** category_locales_list,
29162914
SAVEFREEPV(retval);
29172915
}
29182916

2919-
/* In all cases here, there's nothing we create that needs to be freed,
2920-
* so leave 'free_if_void_return' set to the default 'false'. */
2917+
/* In all cases here, there's nothing we create that needs to be
2918+
* freed, so leave 'free_if_void_return' set to the default
2919+
* 'false'. */
29212920
}
29222921
else { /* Here, not all categories have the same locale */
29232922

2924-
char * constructed;
2923+
char * constructed;
2924+
29252925
Newx(constructed, total_len, char);
29262926

29272927
/* If returning the new memory, it must be set up to be freed

0 commit comments

Comments
 (0)