Fix some warnings

Remove an unused variable, add missing FALLTHRUs, and use the same
FALLTHRU wording where it wasn't recognized by gcc
This commit is contained in:
Pasi Kallinen
2018-03-30 19:42:46 +03:00
parent a365dc3450
commit 2548d68dd3
35 changed files with 80 additions and 32 deletions

View File

@@ -485,6 +485,7 @@ int reason; /* Player was thrown off etc. */
switch (reason) {
case DISMOUNT_THROWN:
verb = "are thrown";
/*FALLTHRU*/
case DISMOUNT_FELL:
You("%s off of %s!", verb, mon_nam(mtmp));
if (!have_spot)