Commit d7e615f3 authored by John Harwell's avatar John Harwell
Browse files

Fixed compilation error on Debian. There was a switch statement on an...

Fixed compilation error on Debian.  There was a switch statement on an enumerated type that was missing one of the enumerated values.  The purpose of the switch statement was for compilation to fail if a new coordinate space enumerated value was added to indicate, via comments, new widget(s) may be needed (none of the 'case' statements did anything).  Even though we have the compiler options on to treat a missing case warning as an error, our compilers did not do this in this one instance.  Apparently, the switch statement was ignored since it did nothing and the variable in the switch was 'const' and initialized to a value.  Removing the 'const' resulted in a compiler error for the missing case 'SPACER' that has been added.
parent c4e7c158
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment