Module Name:    src
Committed By:   shm
Date:           Thu Nov 17 09:29:01 UTC 2016

Modified Files:
        src/usr.sbin/mrinfo: mrinfo.c

Log Message:
Add couple FALLTHROUGHs CIDs: 976559, 976560, 976561

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/usr.sbin/mrinfo/mrinfo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/mrinfo/mrinfo.c
diff -u src/usr.sbin/mrinfo/mrinfo.c:1.29 src/usr.sbin/mrinfo/mrinfo.c:1.30
--- src/usr.sbin/mrinfo/mrinfo.c:1.29	Wed Aug 31 13:32:38 2011
+++ src/usr.sbin/mrinfo/mrinfo.c	Thu Nov 17 09:29:01 2016
@@ -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 @@ logit(int severity, int syserr, const ch
 	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 - ");

Reply via email to