diff options
author | wtc <devnull@localhost> | 1998-04-07 22:40:39 +0000 |
---|---|---|
committer | wtc <devnull@localhost> | 1998-04-07 22:40:39 +0000 |
commit | ef15c6fed9e5c11eafe7fd44970d1fd9d1085b6e (patch) | |
tree | 0786ae53260bffa23e3856e0d92ee9c39800bb1c | |
parent | 3a2ae38ec8c37fd92d565f77336185c00fdb4a3a (diff) | |
download | nspr-hg-ef15c6fed9e5c11eafe7fd44970d1fd9d1085b6e.tar.gz |
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.
-rw-r--r-- | lib/msgc/src/prgcapi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/msgc/src/prgcapi.c b/lib/msgc/src/prgcapi.c index 0c05c8be..ba7c5b18 100644 --- a/lib/msgc/src/prgcapi.c +++ b/lib/msgc/src/prgcapi.c @@ -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, ...) { |