- changed status to closed
Compiler warnings about unused static variables
Issue #3
closed
I see most compilers issue warnings about these unused static variables: libAnalyzerDisplay/TMainDisplayWindow.hxx:22: warning: ‘gMainDisplayDefaultWidth’ defined but not used libAnalyzerDisplay/TMainDisplayWindow.hxx:23: warning: ‘gMainDisplayDefaultHeight’ defined but not used
I am not sure what these variables do, cannot fix. But I can suggest some options: a) remove them b) remove "static" c) make them "const int" d) make them #define
Thomas, can you look at this?
K.O.
Comments (1)
-
- Log in to comment
Fixed error message; hide constant in different classes.