mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
util: eliminate dead store in hostutil_GetHostByName
Change-Id: Ibf6712ec239a5f4d163c145f5444c086277e4445 Reviewed-on: http://gerrit.openafs.org/7774 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
0b69ca34eb
commit
cc4552c9a1
@ -53,7 +53,6 @@ hostutil_GetHostByName(char *ahost)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (numeric) {
|
if (numeric) {
|
||||||
tc = *ahost; /* look at the first char */
|
|
||||||
/* decimal address, return fake hostent with only hostaddr field good */
|
/* decimal address, return fake hostent with only hostaddr field good */
|
||||||
tval = 0;
|
tval = 0;
|
||||||
dots = 0;
|
dots = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user