|
|
Message-Id: <20160924043806.31822-1-dsabogalcc@gmail.com>
Date: Sat, 24 Sep 2016 00:38:06 -0400
From: Daniel Sabogal <dsabogalcc@...il.com>
To: musl@...ts.openwall.com
Subject: [PATCH] remove dead case in gethostbyname2_r
this case statement was accidently left behind when this function
was refactored in commit e8f39ca4898237cf71657500f0b11534c47a0521.
---
if (cnt<0) switch (cnt) {
...
case 0:
break;
}
src/network/gethostbyname2_r.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/network/gethostbyname2_r.c b/src/network/gethostbyname2_r.c
index 5c1cae9..fc89487 100644
--- a/src/network/gethostbyname2_r.c
+++ b/src/network/gethostbyname2_r.c
@@ -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;
--
2.10.0
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.