From: Alex Dowad Date: Mon, 12 Oct 2020 15:42:01 +0000 (+0200) Subject: Remove unused IS_SJIS1 and IS_SJIS2 macros X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7dc16374b40680faf147092f1281a93c27101d6a;p=php Remove unused IS_SJIS1 and IS_SJIS2 macros --- diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index 61ada4c793..e02b237bf7 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -1497,9 +1497,6 @@ PHP_FUNCTION(mb_preferred_mime_name) } /* }}} */ -#define IS_SJIS1(c) ((((c)>=0x81 && (c)<=0x9f) || ((c)>=0xe0 && (c)<=0xf5)) ? 1 : 0) -#define IS_SJIS2(c) ((((c)>=0x40 && (c)<=0x7e) || ((c)>=0x80 && (c)<=0xfc)) ? 1 : 0) - /* {{{ Parses GET/POST/COOKIE data and sets global variables */ PHP_FUNCTION(mb_parse_str) {