Dear Maintainer, Add __attribute__ ((fallthrough)); Add "break" after an "nn_exit()" as the compiler can't know, that the next code is never reached. Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is> --- nn.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nn.c b/nn.c index 7c77057..7bc2779 100644 --- a/nn.c +++ b/nn.c @@ -303,6 +303,7 @@ read_news(flag_type access_mode, char *mask) break; case 0: gh = group_sequence; + __attribute__ ((fallthrough)); default: after_loop = prev; continue; @@ -1107,6 +1108,7 @@ nnspew: prt_unread((char *) NULL); } nn_exit(unread_articles ? 0 : 99); + break; /* added to silence warning about possible fall through */ /* NOTREACHED */ case I_AM_TIDY: