make currently unhandled switch cases apparent

This commit is contained in:
nhmall
2022-05-21 09:13:02 -04:00
parent 441840c737
commit f19ccde709

View File

@@ -1015,6 +1015,10 @@ revive(struct obj *corpse, boolean by_hero)
break;
}
/*FALLTHRU*/
case OBJ_FREE:
case OBJ_MIGRATING:
case OBJ_ONBILL:
case OBJ_LUAFREE:
default:
panic("revive default case %d", (int) corpse->where);
}