Unbreak non-ipv6 build
authorJeremy Harris <jgh146exb@wizmail.org>
Mon, 5 Oct 2020 16:52:04 +0000 (17:52 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Mon, 5 Oct 2020 16:52:04 +0000 (17:52 +0100)
Broken-by: 261fc93208
src/src/host.c

index bb706c1c86eb53b16a24cfd74539c7cacccc9497..4e1cb8a4578e1fb0de4f39e08a14a8289e9e825a 100644 (file)
@@ -1946,9 +1946,7 @@ host_find_byname(host_item *host, const uschar *ignore_target_hosts, int flags,
 int yield, times;
 host_item *last = NULL;
 BOOL temp_error = FALSE;
-#if HAVE_IPV6
 int af;
-#endif
 
 #ifndef DISABLE_TLS
 /* Copy the host name at this point to the value which is used for