util: eliminate dead store in hostutil_GetHostByName
authorGarrett Wollman <wollman@csail.mit.edu>
Mon, 16 Jul 2012 01:53:17 +0000 (21:53 -0400)
committerDerrick 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

index 9caf422..d0a181a 100644 (file)
@@ -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;