Skip to content

Commit aa231b4

Browse files
committed
locale.c: Move #ifdef DEBUGGING
Move the #ifdef to include more code that already doesn't compile unless DEBUGGING is enabled. This just makes it more obvious.
1 parent 3856bc1 commit aa231b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

locale.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3133,6 +3133,7 @@ S_save_to_buffer(const char * string, const char **buf, Size_t *buf_size)
31333133
*buf_size = string_size;
31343134
}
31353135

3136+
# ifdef DEBUGGING
31363137
{
31373138
dTHX_DEBUGGING;
31383139
DEBUG_Lv(PerlIO_printf(Perl_debug_log,
@@ -3143,8 +3144,6 @@ S_save_to_buffer(const char * string, const char **buf, Size_t *buf_size)
31433144
*buf));
31443145
}
31453146

3146-
# ifdef DEBUGGING
3147-
31483147
/* Catch glitches. Usually this is because LC_CTYPE needs to be the same
31493148
* locale as whatever is being worked on */
31503149
if (UNLIKELY(instr(string, REPLACEMENT_CHARACTER_UTF8))) {

0 commit comments

Comments
 (0)