X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FErrorReporting.c;h=b795d57e2175e596762d100e44843f3ac6433483;hb=949580a3bafe5c8abd1fac99202411b65900b883;hp=8cd7457d5de95fd298037631a61351dc02008a98;hpb=5ba7f2d9a3f07f342afdf215a3307d5487cb6d43;p=rocksndiamonds.git diff --git a/src/game_sp/ErrorReporting.c b/src/game_sp/ErrorReporting.c index 8cd7457d..b795d57e 100644 --- a/src/game_sp/ErrorReporting.c +++ b/src/game_sp/ErrorReporting.c @@ -7,7 +7,8 @@ static char * GetErrLogPath(); static char * GetTraceLogPath(); -static char *VB_Name = "modErrorReporting"; +// static char *VB_Name = "modErrorReporting"; + // --- Option Explicit static char *GetErrLogPath() @@ -48,7 +49,7 @@ void Trace(char *Source, char *Message) void ReportError(char *Source, char *Message) { char *Path; - int FNum; + FILE *FNum; boolean bIsOpen; Path = GetErrLogPath(); @@ -62,7 +63,7 @@ void ReportError(char *Source, char *Message) // --- On Error GoTo 0 -ReportErrorEH: + // ReportErrorEH: if (bIsOpen) fclose(FNum); }