summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2013-09-07 00:31:36 -0300
committerBrian Fraser <fraserbn@gmail.com>2013-09-21 08:47:41 -0300
commitd7b74b949fdf0128b411a0836841020c328d0070 (patch)
tree54d8c1a8e28755ea1961b3f8bcc76a30243a12fe /utf8.c
parentc23583cd92a3cd7faff88e9bad65ed3e253c657b (diff)
downloadperl-d7b74b949fdf0128b411a0836841020c328d0070.tar.gz
Removed an ifdef for IS_UTF8_CHAR in utf8.c
IS_UTF8_CHAR is defined by utf8.h, so this is always defined. In fact, later in utf8.c we use it again, this time without the ifdef.
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/utf8.c b/utf8.c
index f07e8ec20b..c8bbaea00a 100644
--- a/utf8.c
+++ b/utf8.c
@@ -366,10 +366,8 @@ Perl_is_utf8_char_buf(const U8 *buf, const U8* buf_end)
len = UTF8SKIP(buf);
}
-#ifdef IS_UTF8_CHAR
if (IS_UTF8_CHAR_FAST(len))
return IS_UTF8_CHAR(buf, len) ? len : 0;
-#endif /* #ifdef IS_UTF8_CHAR */
return is_utf8_char_slow(buf, len);
}