From 30139c67453b80c99c9823e93b6b72a60044fb73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Thu, 27 Feb 2020 19:55:31 +0100 Subject: [PATCH] * src/host.c (host_cleanup): Only compile for DEBUG_MALLOC or TESTING --- src/host.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/host.c b/src/host.c index 56199958..a2583898 100644 --- a/src/host.c +++ b/src/host.c @@ -1043,6 +1043,7 @@ sufmatch (const char **list, const char *what) return false; } +#if defined DEBUG_MALLOC || defined TESTING void host_cleanup (void) { @@ -1063,6 +1064,7 @@ host_cleanup (void) host_name_addresses_map = NULL; } } +#endif bool is_valid_ip_address (const char *name)