remove dead case in gethostbyname2_r
authorDaniel Sabogal <dsabogalcc@gmail.com>
Sat, 24 Sep 2016 04:38:06 +0000 (00:38 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 24 Sep 2016 05:09:31 +0000 (01:09 -0400)
this case statement was accidently left behind when this function
was refactored in commit e8f39ca4898237cf71657500f0b11534c47a0521.

src/network/gethostbyname2_r.c

index 5c1cae9..fc89487 100644 (file)
@@ -34,8 +34,6 @@ int gethostbyname2_r(const char *name, int af,
        case EAI_SYSTEM:
                *err = NO_RECOVERY;
                return errno;
-       case 0:
-               break;
        }
 
        h->h_addrtype = af;