diff --git a/src/lib/commands/mfir.c b/src/lib/commands/mfir.c index 93bfb134..8d1c4a92 100644 --- a/src/lib/commands/mfir.c +++ b/src/lib/commands/mfir.c @@ -601,6 +601,7 @@ multifire(void) break; case targ_ship: nreport(player->cnum, N_SHP_SHELL, vict, 1); + /* fall through */ default: if ((target != targ_sub) || ((vship.shp_rflags & RET_DCHRGED) == 0)) diff --git a/src/lib/commands/retr.c b/src/lib/commands/retr.c index a49fdb91..1ec71ac8 100644 --- a/src/lib/commands/retr.c +++ b/src/lib/commands/retr.c @@ -113,6 +113,7 @@ retr(void) break; default: pr("bad condition\n"); + /* fall through */ case '?': pr("i\tretreat when injured\n"); pr("t\tretreat when torped\n"); @@ -245,6 +246,7 @@ lretr(void) break; default: pr("bad condition\n"); + /* fall through */ case '?': pr("i\tretreat when injured\n"); pr("h\tretreat when helpless\n"); diff --git a/src/lib/subs/mission.c b/src/lib/subs/mission.c index e12de4ad..063457c5 100644 --- a/src/lib/subs/mission.c +++ b/src/lib/subs/mission.c @@ -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); }