git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
0b69ca3
)
util: eliminate dead store in hostutil_GetHostByName
author
Garrett Wollman
<wollman@csail.mit.edu>
Mon, 16 Jul 2012 01:53:17 +0000 (21:53 -0400)
committer
Derrick Brashear
<shadow@dementix.org>
Mon, 16 Jul 2012 12:50:49 +0000 (
05:50
-0700)
Change-Id: Ibf6712ec239a5f4d163c145f5444c086277e4445
Reviewed-on: http://gerrit.openafs.org/7774
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/util/hostparse.c
patch
|
blob
|
history
diff --git
a/src/util/hostparse.c
b/src/util/hostparse.c
index
9caf422
..
d0a181a
100644
(file)
--- a/
src/util/hostparse.c
+++ b/
src/util/hostparse.c
@@
-53,7
+53,6
@@
hostutil_GetHostByName(char *ahost)
}
}
if (numeric) {
- tc = *ahost; /* look at the first char */
/* decimal address, return fake hostent with only hostaddr field good */
tval = 0;
dots = 0;