projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove dead case in gethostbyname2_r
[musl]
/
src
/
network
/
gethostbyname2_r.c
diff --git
a/src/network/gethostbyname2_r.c
b/src/network/gethostbyname2_r.c
index
5c1cae9
..
fc89487
100644
(file)
--- 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 EAI_SYSTEM:
*err = NO_RECOVERY;
return errno;
- case 0:
- break;
}
h->h_addrtype = af;
}
h->h_addrtype = af;