(player_new) [!RESOLVE_IPADDRESS]: Don't define unused local variable.

This commit is contained in:
Markus Armbruster 2004-03-01 14:17:58 +00:00
parent 69d06bad46
commit 1f5754b5aa

View file

@ -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)