(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
This commit is contained in:
@@ -302,7 +302,7 @@ void GenerateTrees()
|
||||
switch (_settings_game.game_creation.tree_placer) {
|
||||
case TP_ORIGINAL: i = _settings_game.game_creation.landscape == LT_ARCTIC ? 15 : 6; break;
|
||||
case TP_IMPROVED: i = _settings_game.game_creation.landscape == LT_ARCTIC ? 4 : 2; break;
|
||||
default: NOT_REACHED(); return;
|
||||
default: NOT_REACHED();
|
||||
}
|
||||
|
||||
total = ScaleByMapSize(1000);
|
||||
|
Reference in New Issue
Block a user