Skip to content

Commit

Permalink
locale.c Make a char * variable const
Browse files Browse the repository at this point in the history
A future commit will want this
  • Loading branch information
khwilliamson committed May 6, 2021
1 parent 3e58f77 commit 836f3fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locale.c
Expand Up @@ -4429,7 +4429,7 @@ S_switch_category_locale_to_template(pTHX_ const int switch_category,
* so can be switched back to with the companion function
* restore_switched_locale(), (NULL if no restoral is necessary.) */

char * restore_to_locale = NULL;
const char * restore_to_locale = NULL;

if (switch_category == template_category) { /* No changes needed */
return NULL;
Expand Down

0 comments on commit 836f3fe

Please sign in to comment.