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

@ -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");