diff cli-runopts.c @ 1268:968be6f7cff6

add comment FALLTHROUGH which recognize by many lint tools
author Francois Perrad <francois.perrad@gadz.org>
date Thu, 31 Dec 2015 18:36:34 +0100
parents 888e3d17e962
children 9169e4e7cbee
line wrap: on
line diff
--- a/cli-runopts.c	Thu Dec 31 18:02:21 2015 +0100
+++ b/cli-runopts.c	Thu Dec 31 18:36:34 2015 +0100
@@ -315,6 +315,7 @@
 					break;
 				case 'b':
 					next = &dummy;
+					/* FALLTHROUGH */
 				default:
 					fprintf(stderr,
 						"WARNING: Ignoring unknown option -%c\n", c);