From: Garrett Wollman Date: Mon, 16 Jul 2012 01:53:17 +0000 (-0400) Subject: util: eliminate dead store in hostutil_GetHostByName X-Git-Tag: upstream/1.8.0_pre1^2~2216 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=cc4552c9a1ca4a12d3d7f64d98185f8d2025834d;p=packages%2Fo%2Fopenafs.git util: eliminate dead store in hostutil_GetHostByName Change-Id: Ibf6712ec239a5f4d163c145f5444c086277e4445 Reviewed-on: http://gerrit.openafs.org/7774 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/util/hostparse.c b/src/util/hostparse.c index 9caf42229..d0a181a2f 100644 --- 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;