-Werror=implicit-fallthrough= (GCC 7)
Change-Id: I2e9ab956fc1e59d09b7409333f18230e34b6a9b7
This commit is contained in:
@@ -319,7 +319,7 @@ long
|
|||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
/* flow through */
|
/* fall through */
|
||||||
|
|
||||||
/* plain binary */
|
/* plain binary */
|
||||||
case EQ:
|
case EQ:
|
||||||
|
@@ -492,6 +492,7 @@ continue2:
|
|||||||
|
|
||||||
case S_STNL:
|
case S_STNL:
|
||||||
error(ERROR, "Unterminated string or char const");
|
error(ERROR, "Unterminated string or char const");
|
||||||
|
/* fall through */
|
||||||
case S_NL:
|
case S_NL:
|
||||||
tp->t = ip;
|
tp->t = ip;
|
||||||
tp->type = NL;
|
tp->type = NL;
|
||||||
@@ -516,6 +517,7 @@ continue2:
|
|||||||
case S_EOFCOM:
|
case S_EOFCOM:
|
||||||
error(WARNING, "EOF inside comment");
|
error(WARNING, "EOF inside comment");
|
||||||
--ip;
|
--ip;
|
||||||
|
/* fall through */
|
||||||
case S_COMMENT:
|
case S_COMMENT:
|
||||||
if (!Cflag)
|
if (!Cflag)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user