summaryrefslogtreecommitdiff
path: root/lib/util/util_net.c
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2020-10-26 11:30:06 +0100
committerAndrew Bartlett <abartlet@samba.org>2020-11-10 06:53:43 +0000
commit37b81f9116825e0fc0fcd62aa957655fe5c83f19 (patch)
tree232f90b3bae0969ccd5813eba4b971a32879dc79 /lib/util/util_net.c
parentc305ab07709bcb5eba11568ac2fd625410f441e2 (diff)
downloadsamba-37b81f9116825e0fc0fcd62aa957655fe5c83f19.tar.gz
util_net: fix a statement not reached warning
Signed-off-by: Bjoern Jacke <bjacke@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/util/util_net.c')
-rw-r--r--lib/util/util_net.c3
1 files changed, 2 insertions, 1 deletions
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
}
/**