summaryrefslogtreecommitdiffstats
path: root/larn/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'larn/main.c')
-rw-r--r--larn/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/larn/main.c b/larn/main.c
index 1b442d6d..7b619f87 100644
--- a/larn/main.c
+++ b/larn/main.c
@@ -1,9 +1,9 @@
-/* $NetBSD: main.c,v 1.25 2012/06/19 05:30:43 dholland Exp $ */
+/* $NetBSD: main.c,v 1.26 2019/02/03 03:19:25 mrg Exp $ */
/* main.c */
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: main.c,v 1.25 2012/06/19 05:30:43 dholland Exp $");
+__RCSID("$NetBSD: main.c,v 1.26 2019/02/03 03:19:25 mrg Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -793,6 +793,7 @@ parse(void)
savegame(savefilename);
wizard = 1;
died(-257); /* save the game - doesn't return */
+ __unreachable();
case 'Z':
yrepcount = 0;
@@ -918,6 +919,7 @@ parse(void)
case 'g':
cursors();
lprintf("\nThe stuff you are carrying presently weighs %ld pounds", (long) packweight());
+ /* FALLTHROUGH */
case ' ':
yrepcount = 0;
nomove = 1;