diff options
| author | mrg <mrg@NetBSD.org> | 2019-02-03 03:19:25 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2019-02-03 03:19:25 +0000 |
| commit | 788768547b3857c4a91dd4dfdf8fc4ffe855cddc (patch) | |
| tree | 05c0bb3274b13ebb5db25e521a19b68688a65067 /usr.sbin/bootp | |
| parent | 347959000863b79ceb826308162ed125f4a420ac (diff) | |
- 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
Diffstat (limited to 'usr.sbin/bootp')
| -rw-r--r-- | usr.sbin/bootp/common/readfile.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <sys/cdefs.h> #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++; |
