comparison 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
comparison
equal deleted inserted replaced
1267:1f9858bfe03e 1268:968be6f7cff6
313 print_version(); 313 print_version();
314 exit(EXIT_SUCCESS); 314 exit(EXIT_SUCCESS);
315 break; 315 break;
316 case 'b': 316 case 'b':
317 next = &dummy; 317 next = &dummy;
318 /* FALLTHROUGH */
318 default: 319 default:
319 fprintf(stderr, 320 fprintf(stderr,
320 "WARNING: Ignoring unknown option -%c\n", c); 321 "WARNING: Ignoring unknown option -%c\n", c);
321 break; 322 break;
322 } /* Switch */ 323 } /* Switch */