summaryrefslogtreecommitdiffstats
path: root/hack/hack.eat.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2011-08-07 06:03:45 +0000
committerdholland <dholland@NetBSD.org>2011-08-07 06:03:45 +0000
commit04539cb235b06fd8cacf5c4c40081bd86e0dfa04 (patch)
tree0ce2c465383e0aecdf9d0d1192b34a137636b113 /hack/hack.eat.c
parent18451d9c4ce377951796a0ac6188ca7b1bf34335 (diff)
downloadbsdgames-darwin-04539cb235b06fd8cacf5c4c40081bd86e0dfa04.tar.gz
bsdgames-darwin-04539cb235b06fd8cacf5c4c40081bd86e0dfa04.tar.zst
bsdgames-darwin-04539cb235b06fd8cacf5c4c40081bd86e0dfa04.zip
Fix up some lint.
Diffstat (limited to 'hack/hack.eat.c')
-rw-r--r--hack/hack.eat.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hack/hack.eat.c b/hack/hack.eat.c
index bf8703bd..a6c404e7 100644
--- a/hack/hack.eat.c
+++ b/hack/hack.eat.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.eat.c,v 1.11 2011/08/06 20:42:43 dholland Exp $ */
+/* $NetBSD: hack.eat.c,v 1.12 2011/08/07 06:03:45 dholland Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -63,7 +63,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.eat.c,v 1.11 2011/08/06 20:42:43 dholland Exp $");
+__RCSID("$NetBSD: hack.eat.c,v 1.12 2011/08/07 06:03:45 dholland Exp $");
#endif /* not lint */
#include "hack.h"
@@ -495,11 +495,11 @@ eatcorpse(struct obj *otmp)
case 'n':
u.uhp = u.uhpmax;
flags.botl = 1;
- /* fall into next case */
+ /* FALLTHROUGH */
case '@':
pline("You cannibal! You will be sorry for this!");
/* not tp++; */
- /* fall into next case */
+ /* FALLTHROUGH */
case 'd':
Aggravate_monster |= INTRINSIC;
break;
@@ -512,12 +512,12 @@ eatcorpse(struct obj *otmp)
Invis |= INTRINSIC;
See_invisible |= INTRINSIC;
}
- /* fall into next case */
+ /* FALLTHROUGH */
case 'y':
#ifdef QUEST
u.uhorizon++;
#endif /* QUEST */
- /* fall into next case */
+ /* FALLTHROUGH */
case 'B':
Confusion = 50;
break;