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 --- quiz/quiz.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'quiz/quiz.c') diff --git a/quiz/quiz.c b/quiz/quiz.c index b2e76ba6..74b41e8f 100644 --- a/quiz/quiz.c +++ b/quiz/quiz.c @@ -1,4 +1,4 @@ -/* $NetBSD: quiz.c,v 1.27 2014/03/23 00:07:15 dholland Exp $ */ +/* $NetBSD: quiz.c,v 1.28 2019/02/03 03:19:25 mrg Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1991, 1993\ #if 0 static char sccsid[] = "@(#)quiz.c 8.3 (Berkeley) 5/4/95"; #else -__RCSID("$NetBSD: quiz.c,v 1.27 2014/03/23 00:07:15 dholland Exp $"); +__RCSID("$NetBSD: quiz.c,v 1.28 2019/02/03 03:19:25 mrg Exp $"); #endif #endif /* not lint */ @@ -318,6 +318,7 @@ next_cat(const char *s) case ':': if (!esc) return (s); + /* FALLTHROUGH */ default: esc = 0; break; -- cgit v1.2.3