take the swich/case default back out so that the compiler tells us if we miss a case

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1956 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
cmdrjames 2009-01-01 22:11:46 +00:00
parent 5260ef0ed6
commit e8b0593101

View File

@ -6478,12 +6478,28 @@ static int last_outfitting_index;
{ {
case STATUS_DOCKED: case STATUS_DOCKED:
case STATUS_DOCKING: case STATUS_DOCKING:
case STATUS_START_GAME: case STATUS_START_GAME:
isDockedStatus = YES; isDockedStatus = YES;
break; break;
default: case STATUS_EFFECT:
case STATUS_ACTIVE:
case STATUS_COCKPIT_DISPLAY:
case STATUS_TEST:
case STATUS_INACTIVE:
case STATUS_DEAD:
case STATUS_IN_FLIGHT:
case STATUS_AUTOPILOT_ENGAGED:
case STATUS_LAUNCHING:
case STATUS_WITCHSPACE_COUNTDOWN:
case STATUS_ENTERING_WITCHSPACE:
case STATUS_EXITING_WITCHSPACE:
case STATUS_ESCAPE_SEQUENCE:
case STATUS_IN_HOLD:
case STATUS_BEING_SCOOPED:
case STATUS_HANDLING_ERROR:
isDockedStatus = NO; isDockedStatus = NO;
break; break;
//no default, so that we get notified by the compiler if something is missing
} }
#ifndef NDEBUG #ifndef NDEBUG