(player_new) [!RESOLVE_IPADDRESS]: Don't define unused local variable.
This commit is contained in:
parent
69d06bad46
commit
1f5754b5aa
1 changed files with 2 additions and 0 deletions
|
@ -74,7 +74,9 @@ struct player *
|
|||
player_new(int s, struct sockaddr_in *sin)
|
||||
{
|
||||
struct player *lp;
|
||||
#ifdef RESOLVE_IPADDRESS
|
||||
struct hostent *hostp;
|
||||
#endif
|
||||
|
||||
lp = (struct player *)malloc(sizeof(struct player));
|
||||
if (!lp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue