Add FALLTHROUGH

This commit is contained in:
christos 2020-05-25 20:54:07 +00:00
parent cdfa2a7ef9
commit e461285fd0
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: boolean.c,v 1.5 2020/05/25 20:47:34 christos Exp $ */
/* $NetBSD: boolean.c,v 1.6 2020/05/25 20:54:07 christos Exp $ */
/**
@ -66,8 +66,8 @@ optionBooleanVal(tOptions * opts, tOptDesc * od)
long val = strtol(od->optArg.argString, &pz, 0);
if ((val != 0) || (*pz != NUL))
break;
/* FALLTHROUGH */
}
/*FALLTHROUGH*/
case 'N':
case 'n':
case 'F':

View File

@ -1,4 +1,4 @@
/* $NetBSD: configfile.c,v 1.9 2020/05/25 20:47:34 christos Exp $ */
/* $NetBSD: configfile.c,v 1.10 2020/05/25 20:54:07 christos Exp $ */
/**
* \file configfile.c
@ -468,7 +468,7 @@ file_preset(tOptions * opts, char const * fname, int dir)
ftext = strchr(ftext + 2, '>');
if (ftext++ != NULL)
break;
/*FALLTHROUGH*/
default:
ftext = NULL;
}