Replace various spellings with FALLTHROUGH which is lint()able

This commit is contained in:
charnier 2002-08-25 13:01:47 +00:00
parent ec1c4337c5
commit eafd430bd4
4 changed files with 14 additions and 14 deletions

View File

@ -355,7 +355,7 @@ next_addr(void)
addr = addr_last;
break;
}
/* FALL THROUGH */
/* FALLTHROUGH */
default:
if (ibufp == hd)
return EOF;
@ -489,7 +489,7 @@ exec_command(void)
case 'e':
if (modified && !scripted)
return EMOD;
/* fall through */
/* FALLTHROUGH */
case 'E':
if (addr_cnt > 0) {
errmsg = "unexpected address";

View File

@ -565,36 +565,36 @@ display(FTSENT *p, FTSENT *list)
switch (ninitmax) {
case 0:
maxinode = 0;
/* fall through */
/* FALLTHROUGH */
case 1:
maxblock = 0;
/* fall through */
/* FALLTHROUGH */
case 2:
maxnlink = 0;
/* fall through */
/* FALLTHROUGH */
case 3:
maxuser = 0;
/* fall through */
/* FALLTHROUGH */
case 4:
maxgroup = 0;
/* fall through */
/* FALLTHROUGH */
case 5:
maxflags = 0;
/* fall through */
/* FALLTHROUGH */
case 6:
maxsize = 0;
/* fall through */
/* FALLTHROUGH */
case 7:
maxlen = 0;
/* fall through */
/* FALLTHROUGH */
case 8:
maxlattr = 0;
/* fall through */
/* FALLTHROUGH */
#ifdef COLORLS
if (!f_color)
#endif
f_notabs = 0;
/* fall through */
/* FALLTHROUGH */
default:
break;
}

View File

@ -893,7 +893,7 @@ varvalue(char *name, int quoted, int allow_split)
}
break;
}
/* fall through */
/* FALLTHROUGH */
case '*':
if (ifsset() != 0)
sep = ifsval()[0];

View File

@ -193,7 +193,7 @@ list(int nlflag)
case TBACKGND:
case TSEMI:
tok = readtoken();
/* fall through */
/* FALLTHROUGH */
case TNL:
if (tok == TNL) {
parseheredoc();