Clean up switch cases: proper fall through comments, no break after

return.
This commit is contained in:
Markus Armbruster 2004-03-01 14:03:29 +00:00
parent 7c52730439
commit d0cf6a0a9b
3 changed files with 3 additions and 2 deletions

View file

@ -849,10 +849,8 @@ nameofitem(s_char *buf, struct genitem *gp, int type)
switch (type) {
case EF_SHIP:
return prship((struct shpstr *)gp);
break;
case EF_PLANE:
return prplane((struct plnstr *)gp);
break;
case EF_LAND:
return prland((struct lndstr *)gp);
}