X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FErrorReporting.c;h=b795d57e2175e596762d100e44843f3ac6433483;hb=8d3d7d213a9691455a49544624bf380e85f43461;hp=8cd7457d5de95fd298037631a61351dc02008a98;hpb=b15916f3e0650dc610705ea662bfbcd25099cce8;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); }