From 788768547b3857c4a91dd4dfdf8fc4ffe855cddc 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 --- usr.sbin/bootp/common/readfile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/bootp') diff --git a/usr.sbin/bootp/common/readfile.c b/usr.sbin/bootp/common/readfile.c index 1cfa81dcad3..1929989c411 100644 --- a/usr.sbin/bootp/common/readfile.c +++ b/usr.sbin/bootp/common/readfile.c @@ -22,7 +22,7 @@ SOFTWARE. #include #ifndef lint -__RCSID("$NetBSD: readfile.c,v 1.20 2017/01/11 12:18:22 joerg Exp $"); +__RCSID("$NetBSD: readfile.c,v 1.21 2019/02/03 03:19:30 mrg Exp $"); #endif @@ -603,6 +603,7 @@ read_entry(FILE *fp, char *buffer, unsigned int *bufsiz) } } /* fall through if "other" character */ + /* FALLTHROUGH */ default: *buffer++ = c; /* Store other characters */ length++; -- cgit