summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2022-02-08 17:37:14 +0100
committerSebastian Pipping <sebastian@pipping.org>2022-02-18 18:02:19 +0100
commitee2a5b50e7d1940ba8745715b62ceb9efd3a96da (patch)
tree33bd59d00c9a88031854ba7eaffb3acdb074d397
parent2cc97e875ef84da4bcf55156c83599116f7523b4 (diff)
downloadlibexpat-git-ee2a5b50e7d1940ba8745715b62ceb9efd3a96da.tar.gz
lib: Drop unused macro UTF8_GET_NAMING
-rw-r--r--expat/lib/xmltok.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/expat/lib/xmltok.c b/expat/lib/xmltok.c
index a72200e8..3bddf125 100644
--- a/expat/lib/xmltok.c
+++ b/expat/lib/xmltok.c
@@ -98,11 +98,6 @@
+ ((((byte)[1]) & 3) << 1) + ((((byte)[2]) >> 5) & 1)] \
& (1u << (((byte)[2]) & 0x1F)))
-#define UTF8_GET_NAMING(pages, p, n) \
- ((n) == 2 \
- ? UTF8_GET_NAMING2(pages, (const unsigned char *)(p)) \
- : ((n) == 3 ? UTF8_GET_NAMING3(pages, (const unsigned char *)(p)) : 0))
-
/* Detection of invalid UTF-8 sequences is based on Table 3.1B
of Unicode 3.2: http://www.unicode.org/unicode/reports/tr28/
with the additional restriction of not allowing the Unicode