diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tet3/tcm/tcmfuncs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tet3/tcm/tcmfuncs.c b/src/tet3/tcm/tcmfuncs.c index 004e7cd6..abfdb2f4 100644 --- a/src/tet3/tcm/tcmfuncs.c +++ b/src/tet3/tcm/tcmfuncs.c @@ -80,6 +80,9 @@ MODIFICATIONS: Aaron Plattner, April 2010 Fixed warnings when compiled with GCC's -Wall option. + Peter Hutterer, June 2010 + Move envmsg into ifndef TET_LITE define, fixes warning. + ************************************************************************/ #include <stdio.h> @@ -131,10 +134,10 @@ char **argv; struct synreq *synreq, *sp; int count; int nsys; + static char envmsg[] = "null or not set"; #endif /* -END-LITE-CUT- */ static char tiargs_name[] = "TET_TIARGS"; static char tetroot_name[] = "TET_ROOT"; - static char envmsg[] = "null or not set"; #ifdef NOTRACE int twarn = 0; #else |