Skip to content

Commit

Permalink
Get rid of obsolete variable.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gvanem authored and guyharris committed Mar 7, 2016
1 parent 27593e4 commit 6077117
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nametoaddr.c
Expand Up @@ -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))
Expand Down

0 comments on commit 6077117

Please sign in to comment.