shithub: rott

Download patch

ref: f15f51dde871cf519dd3c03941303582fe053c7a
parent: d8292c853eba95a1dc96de3f3385fe945642c5f6
author: Marc-Alexandre Espiaut <marcalexandre@member.fsf.org>
date: Tue Jun 5 08:02:18 EDT 2018

Removing unused but set variables in rt_net.c

--- a/rott/rt_net.c
+++ b/rott/rt_net.c
@@ -2198,7 +2198,6 @@
     boolean exit;
     int i;
     int time;
-    int quittime;
 
     if (InProcessServer==true)
         return;
@@ -2209,7 +2208,6 @@
         goto exitProcessServer;
 
     time=GetTicCount();
-    quittime=GetTicCount()+SERVERTIMEOUT;
     exit=false;
 
     while (time>=serverupdatetime)
@@ -2250,10 +2248,6 @@
                 }
                 savetime=GetTicCount()+NETWORKTIMEOUT;
             }
-//         if (GetTicCount()>quittime)
-//            {
-//            Error("Server aborting after %ld seconds\n",SERVERTIMEOUT/VBLCOUNTER);
-//            }
             if ((standalone==false) && (done==false))
             {
                 exit=true;