From: Björn Jacke Date: Mon, 26 Oct 2020 10:30:06 +0000 (+0100) Subject: util_net: fix a statement not reached warning X-Git-Tag: talloc-2.3.2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=37b81f9116825e0fc0fcd62aa957655fe5c83f19;p=thirdparty%2Fsamba.git util_net: fix a statement not reached warning Signed-off-by: Bjoern Jacke Reviewed-by: Andrew Bartlett --- diff --git a/lib/util/util_net.c b/lib/util/util_net.c index 8376f8876a4..b9b0621f45f 100644 --- a/lib/util/util_net.c +++ b/lib/util/util_net.c @@ -560,8 +560,9 @@ bool is_ipaddress_v6(const char *str) } return true; -#endif +#else return false; +#endif } /**