Enable more compiler warnings and treat them as errors.
This commit is contained in:
+4
-1
@@ -857,7 +857,7 @@ void OptionRow::Reload()
|
||||
ImportOptions( vpns );
|
||||
FOREACH_HumanPlayer( p )
|
||||
AfterImportOptions( p );
|
||||
// fall through
|
||||
[[fallthrough]];
|
||||
}
|
||||
|
||||
case RELOAD_CHANGED_ENABLED:
|
||||
@@ -865,6 +865,9 @@ void OptionRow::Reload()
|
||||
FOREACH_HumanPlayer( pn )
|
||||
PositionUnderlines( pn );
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
// TODO: Nothing uses this yet and it causes skips when changing options.
|
||||
|
||||
Reference in New Issue
Block a user