summaryrefslogtreecommitdiff
path: root/src/libs6dns
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-07-14 14:28:43 +0000
committerLaurent Bercot <ska@appnovation.com>2023-07-14 14:28:43 +0000
commit05402aede9d952f9e561335dc9ba1dae0f8c6084 (patch)
tree1b66e6f51270a95fab60d8c3edc97689b9bc4ce5 /src/libs6dns
parent85ed638be3aea9c8ab6806a1fde248b10c2fee14 (diff)
downloads6-dns-05402aede9d952f9e561335dc9ba1dae0f8c6084.tar.xz
No dead code plz
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libs6dns')
-rw-r--r--src/libs6dns/s6dns_hosts_compile.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libs6dns/s6dns_hosts_compile.c b/src/libs6dns/s6dns_hosts_compile.c
index 499bb9d..852ce20 100644
--- a/src/libs6dns/s6dns_hosts_compile.c
+++ b/src/libs6dns/s6dns_hosts_compile.c
@@ -148,12 +148,6 @@ static inline uint8_t cclass (char c)
return c & 0x80 ? 9 : ctable[(uint8_t)c] - '0' ;
}
-static inline char next (buffer *b)
-{
- char c ;
- return buffer_get(b, &c, 1) <= 0 ? 0 : c ;
-}
-
static int s6dns_hosts_parse (buffer *b, hostdata *hd)
{
static uint8_t const table[6][10] =