The static variable 'tracefile' is only used when WIN16 is defined,

so put it inside #ifdef to eliminate unused variable compiler
warning on other platforms.
This commit is contained in:
wtc 1998-04-07 22:40:39 +00:00
Родитель b217f80dd9
Коммит 51f022b080
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -250,7 +250,9 @@ PR_IMPLEMENT(void) PR_GetEndFinalizeHook(GCEndFinalizeHook **hook, void **arg)
#ifdef DEBUG
#include "prprf.h"
#if defined(WIN16)
static FILE *tracefile = 0;
#endif
PR_IMPLEMENT(void) GCTrace(char *fmt, ...)
{