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

@@ -278,7 +278,7 @@ struct obj *box;
n = 0;
break;
}
/*else FALLTHRU*/
/*FALLTHRU*/
case BAG_OF_HOLDING:
n = 1;
break;
@@ -884,6 +884,7 @@ boolean artif;
case LARGE_BOX:
otmp->olocked = !!(rn2(5));
otmp->otrapped = !(rn2(10));
/*FALLTHRU*/
case ICE_BOX:
case SACK:
case OILSKIN_SACK: