Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/mrinfo Add couple FALLTHROUGHs CIDs: 976559, 976560...



details:   https://anonhg.NetBSD.org/src/rev/3f739b7b044d
branches:  trunk
changeset: 819095:3f739b7b044d
user:      shm <shm%NetBSD.org@localhost>
date:      Thu Nov 17 09:29:01 2016 +0000

description:
Add couple FALLTHROUGHs CIDs: 976559, 976560, 976561

No functional change.

diffstat:

 usr.sbin/mrinfo/mrinfo.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r b369d8f8a45a -r 3f739b7b044d usr.sbin/mrinfo/mrinfo.c
--- a/usr.sbin/mrinfo/mrinfo.c  Thu Nov 17 09:21:34 2016 +0000
+++ b/usr.sbin/mrinfo/mrinfo.c  Thu Nov 17 09:29:01 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mrinfo.c,v 1.29 2011/08/31 13:32:38 joerg Exp $        */
+/*     $NetBSD: mrinfo.c,v 1.30 2016/11/17 09:29:01 shm Exp $  */
 
 /*
  * This tool requests configuration info from a multicast router
@@ -80,7 +80,7 @@
 static char rcsid[] =
     "@(#) Header: mrinfo.c,v 1.6 93/04/08 15:14:16 van Exp (LBL)";
 #else
-__RCSID("$NetBSD: mrinfo.c,v 1.29 2011/08/31 13:32:38 joerg Exp $");
+__RCSID("$NetBSD: mrinfo.c,v 1.30 2016/11/17 09:29:01 shm Exp $");
 #endif
 #endif
 
@@ -147,12 +147,15 @@
        case 0:
                if (severity > LOG_WARNING)
                        return;
+               /* FALLTHROUGH */
        case 1:
                if (severity > LOG_NOTICE)
                        return;
+               /* FALLTHROUGH */
        case 2:
                if (severity > LOG_INFO)
                        return;
+               /* FALLTHROUGH */
        default:
                if (severity == LOG_WARNING)
                        fprintf(stderr, "warning - ");



Home | Main Index | Thread Index | Old Index