Skip to content

Commit

Permalink
Remove uncompilable code
Browse files Browse the repository at this point in the history
This code was never compiled because of a misspelling in the #ifdef.
No problem surfaced, so just remove it.  The next commit adds a different
check.
  • Loading branch information
khwilliamson committed Jan 9, 2018
1 parent 310a01e commit 93f1b59
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions mg.c
Expand Up @@ -829,13 +829,7 @@ S_fixup_errno_string(pTHX_ SV* sv)

#ifdef USE_LOCALE_MESSAGES

&& _is_cur_LC_category_utf8(LC_MESSAGES)

#elif defined(USE_LOCLAE_CTYPE)

/* For systems that don't have a separate message category,
* this assumes that they follow the CTYPE one */
&& _is_cur_LC_category_utf8(LC_CTYPE)
&& _is_cur_LC_category_utf8(LC_MESSAGES)

#endif

Expand Down

0 comments on commit 93f1b59

Please sign in to comment.