From efed82cb69499f6d7ed09b7263689e47e25a9d94 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 13 Feb 2014 13:19:26 +0000 Subject: [PATCH] krb5_locator: Slightly simplify code This makes it a bit easier to read for me Signed-off-by: Volker Lendecke Reviewed-by: Kai Blin --- nsswitch/winbind_krb5_locator.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nsswitch/winbind_krb5_locator.c b/nsswitch/winbind_krb5_locator.c index 385a156b945..91a2d64d84c 100644 --- a/nsswitch/winbind_krb5_locator.c +++ b/nsswitch/winbind_krb5_locator.c @@ -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; } -- 2.11.4.GIT