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:50 +03:00
parent a365dc3450
commit 2548d68dd3
35 changed files with 80 additions and 32 deletions
+1 -1
View File
@@ -1812,7 +1812,7 @@ struct obj *otmp;
make_vomiting((long) rn1(context.victual.reqtime, 5), FALSE);
break;
}
/* else FALLTHRU */
/*FALLTHRU*/
default:
if (otmp->otyp == SLIME_MOLD && !otmp->cursed
&& otmp->spe == context.current_fruit) {