diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-06-30 14:15:32 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-11-15 13:14:07 +1000 |
commit | 428c83efc5771723d25675252a94d2723b2a070c (patch) | |
tree | 364ec45742b03387d87af972c40c9d23380feff3 /src | |
parent | c36364be6b7f58ae395dc266ff3372de322b085c (diff) |
tcm: move envmsg up into TET_LITE ifndef
fixes
../../../../src/tet3/tcm/tcmfuncs.c: In function ‘tet_tcminit’:
../../../../src/tet3/tcm/tcmfuncs.c:137: warning: unused variable ‘envmsg’
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
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 |