diff options
author | Gisle Vanem <gvanem@yahoo.no> | 2016-03-06 23:52:54 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-03-06 23:52:54 -0800 |
commit | 6077117e557c2eb926f070c0d4851d24e557b3bc (patch) | |
tree | fc31f7ad2ccad806a2670808367e992c72f82fb6 /nametoaddr.c | |
parent | 27593e4b8d1debe7046a383fa3e43fd35fa27119 (diff) |
Get rid of obsolete variable.
We should be copying to the object pointed to by the argument, so we
shouldn't shadow that argument with a variable. We *used* to copy to
that variable, but we're not doing so now.
Diffstat (limited to 'nametoaddr.c')
-rw-r--r-- | nametoaddr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nametoaddr.c b/nametoaddr.c index bcff1038..71280b31 100644 --- a/nametoaddr.c +++ b/nametoaddr.c @@ -535,7 +535,6 @@ __pcap_nametodnaddr(const char *name, u_short *res) #ifdef DECNETLIB struct nodeent *getnodebyname(); struct nodeent *nep; - unsigned short res; nep = getnodebyname(name); if (nep == ((struct nodeent *)0)) |