From 05402aede9d952f9e561335dc9ba1dae0f8c6084 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 14 Jul 2023 14:28:43 +0000 Subject: No dead code plz Signed-off-by: Laurent Bercot --- src/libs6dns/s6dns_hosts_compile.c | 6 ------ 1 file changed, 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] = -- cgit v1.2.3