tUnused variables (when under Win32) removed. - vaccinewars - be a doctor and try to vaccinate the world
 (HTM) git clone git://src.adamsgaard.dk/vaccinewars
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 4f8fceb83f388fc9c6cfcb3b5d08345db70f16ca
 (DIR) parent b577bd956b2146327a27713994a56b8d3be92141
 (HTM) Author: Ben Webb <ben@salilab.org>
       Date:   Sat,  2 Mar 2002 18:53:39 +0000
       
       Unused variables (when under Win32) removed.
       
       
       Diffstat:
         M src/serverside.c                    |       8 ++++----
       
       1 file changed, 4 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/src/serverside.c b/src/serverside.c
       t@@ -32,6 +32,7 @@
        #ifdef CYGWIN
        #include <windows.h>            /* For datatypes such as BOOL */
        #include <winsock.h>            /* For network functions */
       +#include <process.h>            /* For getpid */
        #else
        #include <sys/socket.h>         /* For struct sockaddr etc. */
        #include <netinet/in.h>         /* For struct sockaddr_in etc. */
       t@@ -762,8 +763,6 @@ static gboolean StartServer(void)
        
        #ifndef CYGWIN
          struct sigaction sact;
       -#else
       -  SERVICE_STATUS status;
        #endif
        
          if (!CheckHighScoreFileConfig())
       t@@ -1070,10 +1069,9 @@ static int SetupLocalSocket(void)
        void ServerLoop()
        {
          Player *tmp;
       -  GSList *list, *nextlist, *localconn = NULL;
       +  GSList *list, *nextlist;
          fd_set readfs, writefs, errorfs;
          int topsock;
       -  GPrintFunc oldprint;
          struct timeval timeout;
          int MinTimeout;
          GString *LineBuf;
       t@@ -1082,6 +1080,8 @@ void ServerLoop()
        
        #ifndef CYGWIN
          int localsock;
       +  GPrintFunc oldprint;
       +  GSList *localconn = NULL;
        #endif
        
          if (!StartServer())