shithub: rott

Download patch

ref: 215ca18ffbac8745cd6f25dc4640be7587334506
parent: eaae71577085728df22af19dc32cceaa70bcc614
author: Marc-Alexandre Espiaut <marcalexandre@member.fsf.org>
date: Tue Jun 5 08:31:38 EDT 2018

Removing obsolete DEBUG code from rt_util.c

--- a/rott/rt_util.c
+++ b/rott/rt_util.c
@@ -417,8 +417,6 @@
 //#endif
 
 
-//#if (DEBUG == 1)
-
 /*
 =================
 =
@@ -437,8 +435,6 @@
     va_end (argptr);
 }
 
-//#endif
-
 /*
 =================
 =
@@ -498,13 +494,6 @@
 */
 void StartupSoftError ( void )
 {
-#if (DEBUG == 1)
-    if (DebugStarted==false)
-    {
-        debugout = fopen(DEBUGFILE,"wt+");
-        DebugStarted=true;
-    }
-#endif
 #if (SOFTERROR == 1)
     if (SoftErrorStarted==false)
         OpenSoftError();