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
+2 -2
View File
@@ -86,7 +86,7 @@ int spellval;
case 23:
if (Antimagic || Hallucination)
return MGC_PSI_BOLT;
/* else FALL THROUGH */
/*FALLTHRU*/
case 22:
case 21:
case 20:
@@ -141,7 +141,7 @@ int spellnum;
case 14:
if (rn2(3))
return CLC_OPEN_WOUNDS;
/* else FALL THROUGH */
/*FALLTHRU*/
case 13:
return CLC_GEYSER;
case 12: