@@ -2755,11 +2755,11 @@ S_calculate_LC_ALL_string(pTHX_ const char ** category_locales_list,
2755
2755
*
2756
2756
* The caller sets 'returning' to
2757
2757
* 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
2759
2759
* doesn't have to worry about it being
2760
2760
* per-thread, nor needs to arrange for its
2761
2761
* clean-up.
2762
- * WANT_VOID NULL is returned. This is used when the
2762
+ * WANT_VOID NULL is returned. This is used when the
2763
2763
* function is being called only for its side
2764
2764
* effect of updating
2765
2765
* PL_curlocales[LC_ALL_INDEX_]
@@ -2899,8 +2899,6 @@ S_calculate_LC_ALL_string(pTHX_ const char ** category_locales_list,
2899
2899
}
2900
2900
2901
2901
bool free_if_void_return = false;
2902
-
2903
- /* Done iterating through all the categories. */
2904
2902
const char * retval ;
2905
2903
2906
2904
/* 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,
2916
2914
SAVEFREEPV (retval );
2917
2915
}
2918
2916
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'. */
2921
2920
}
2922
2921
else { /* Here, not all categories have the same locale */
2923
2922
2924
- char * constructed ;
2923
+ char * constructed ;
2924
+
2925
2925
Newx (constructed , total_len , char );
2926
2926
2927
2927
/* If returning the new memory, it must be set up to be freed
0 commit comments