(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:
rubidium
2009-05-26 15:46:24 +00:00
parent 2a5a8f395c
commit e3c5bc8d2e
15 changed files with 30 additions and 36 deletions

View File

@@ -176,7 +176,7 @@ static void DrawTile_Unmovable(TileInfo *ti)
{
switch (GetUnmovableType(ti->tile)) {
default: NOT_REACHED(); break;
default: NOT_REACHED();
case UNMOVABLE_TRANSMITTER:
case UNMOVABLE_LIGHTHOUSE: {
const DrawTileSeqStruct *dtu = &_draw_tile_transmitterlighthouse_data[GetUnmovableType(ti->tile)];