tThe "nextlist" variable is only used on non-Win32 systems, so only define it on these systems, to silence a compiler warning. - vaccinewars - be a doctor and try to vaccinate the world
HTML git clone git://src.adamsgaard.dk/vaccinewars
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit a665e4f4d76c6cfa0b4fe82be28c8bbc4ab25fc7
DIR parent e8cb0bd7b3ddc4b025f007a88298021cf7ef05ac
HTML Author: Ben Webb <ben@salilab.org>
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(-)
---
DIR diff --git a/src/serverside.c b/src/serverside.c
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