From 77d13f885e96609501eda7d3eba282f294119fe4 Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Fri, 30 Jun 2017 11:08:20 +0200 Subject: [PATCH] unused function warning --- src/anchor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/anchor.c b/src/anchor.c index 08ff3aa1..bc39c65d 100644 --- a/src/anchor.c +++ b/src/anchor.c @@ -858,8 +858,10 @@ static const uint8_t tas_write_xml_p7s_buf[] = "\r\n"; +#if defined(ANCHOR_DEBUG) && ANCHOR_DEBUG static inline const char * rt_str(uint16_t rt) { return rt == GETDNS_RRTYPE_A ? "A" : rt == GETDNS_RRTYPE_AAAA ? "AAAA" : "?"; } +#endif static int tas_busy(tas_connection *a) {