| Date: Thu, 27 Jun 2002 17:32:42 +0000
The "nextlist" variable is only used on non-Win32 systems, so only define
it on these systems, to silence a compiler warning.
Diffstat:
M src/serverside.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- |
| t@@ -1143,7 +1143,7 @@ static int SetupLocalSocket(void)
void ServerLoop()
{
Player *tmp;
- GSList *list, *nextlist, *listcp;
+ GSList *list, *listcp;
fd_set readfs, writefs, errorfs;
int topsock;
struct timeval timeout;
t@@ -1154,6 +1154,7 @@ void ServerLoop()
#ifndef CYGWIN
int localsock;
+ GSList *nextlist;
GPrintFunc oldprint;
GSList *localconn = NULL;
#endif |