tThe "nextlist" variable is only used on non-Win32 systems, so only define it o… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit a665e4f4d76c6cfa0b4fe82be28c8bbc4ab25fc7 | |
parent e8cb0bd7b3ddc4b025f007a88298021cf7ef05ac | |
Author: Ben Webb <[email protected]> | |
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(-) | |
--- | |
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 |