Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/hunt/huntd adjust a fallthru comment and add a missing...
details: https://anonhg.NetBSD.org/src/rev/297eb4636881
branches: trunk
changeset: 455291:297eb4636881
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Oct 13 07:42:57 2019 +0000
description:
adjust a fallthru comment and add a missing break.
diffstat:
games/hunt/huntd/shots.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (39 lines):
diff -r c67acab79f6d -r 297eb4636881 games/hunt/huntd/shots.c
--- a/games/hunt/huntd/shots.c Sun Oct 13 07:42:27 2019 +0000
+++ b/games/hunt/huntd/shots.c Sun Oct 13 07:42:57 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: shots.c,v 1.14 2014/03/29 21:43:19 dholland Exp $ */
+/* $NetBSD: shots.c,v 1.15 2019/10/13 07:42:57 mrg Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
* All rights reserved.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: shots.c,v 1.14 2014/03/29 21:43:19 dholland Exp $");
+__RCSID("$NetBSD: shots.c,v 1.15 2019/10/13 07:42:57 mrg Exp $");
#endif /* not lint */
#include <err.h>
@@ -347,10 +347,11 @@
/*
* The shot hit that sucker! Blow it up.
*/
+#ifndef RANDOM
/* FALLTHROUGH */
-#ifndef RANDOM
case DOOR:
#endif
+ /* FALLTHROUGH */
case WALL1:
case WALL2:
case WALL3:
@@ -548,6 +549,7 @@
case BOOT:
case BOOT_PAIR:
mark_boot(bp);
+ break;
#endif
default:
Home |
Main Index |
Thread Index |
Old Index