summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorDaniel Sabogal <dsabogalcc@gmail.com>2016-09-24 00:38:06 -0400
committerRich Felker <dalias@aerifal.cx>2016-09-24 01:09:31 -0400
commitd917ef0b8468f77634df59a1a6650aff5adb6b6a (patch)
tree4e6dadf196d27783a5535c272dbfa341cdb9cc26 /src/network
parent66570ec9c465e3c6c5d6dbd7dd42e45041a39288 (diff)
downloadmusl-d917ef0b8468f77634df59a1a6650aff5adb6b6a.tar.gz
musl-d917ef0b8468f77634df59a1a6650aff5adb6b6a.tar.bz2
musl-d917ef0b8468f77634df59a1a6650aff5adb6b6a.tar.xz
musl-d917ef0b8468f77634df59a1a6650aff5adb6b6a.zip
remove dead case in gethostbyname2_r
this case statement was accidently left behind when this function was refactored in commit e8f39ca4898237cf71657500f0b11534c47a0521.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/gethostbyname2_r.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/network/gethostbyname2_r.c b/src/network/gethostbyname2_r.c
index 5c1cae98..fc894877 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;