From dc6514954049bf3d7c993996025a81414423c89b Mon Sep 17 00:00:00 2001 From: mrg Date: Sun, 3 Feb 2019 03:19:25 +0000 Subject: - add or adjust /* FALLTHROUGH */ where appropriate - add __unreachable() after functions that can return but won't in this case, and thus can't be marked __dead easily --- battlestar/command2.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'battlestar/command2.c') diff --git a/battlestar/command2.c b/battlestar/command2.c index 158e546a..530bcfde 100644 --- a/battlestar/command2.c +++ b/battlestar/command2.c @@ -1,4 +1,4 @@ -/* $NetBSD: command2.c,v 1.3 2005/07/01 06:04:54 jmc Exp $ */ +/* $NetBSD: command2.c,v 1.4 2019/02/03 03:19:25 mrg Exp $ */ /* * Copyright (c) 1983, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)com2.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: command2.c,v 1.3 2005/07/01 06:04:54 jmc Exp $"); +__RCSID("$NetBSD: command2.c,v 1.4 2019/02/03 03:19:25 mrg Exp $"); #endif #endif /* not lint */ @@ -271,6 +271,7 @@ murder(void) puts("Your fantasy is over."); die(); } + /* FALLTHROUGH */ case -1: puts("Kill what?"); break; -- cgit v1.2.3