Add test for wbinfo name lookup
[gd/samba-autobuild/.git] / nsswitch / winbind_krb5_locator.c
index 385a156b945c783ebd98576d78bc0e453ac6c615..91a2d64d84c4eafd2b37e642572b27d984546f26 100644 (file)
@@ -142,11 +142,10 @@ static int smb_krb5_locator_lookup_sanity_check(enum locate_service_type svc,
        switch (family) {
                case AF_UNSPEC:
                case AF_INET:
-                       break;
 #if defined(HAVE_IPV6)
                case AF_INET6:
-                       break;
 #endif
+                       break;
                default:
                        return EINVAL;
        }