Internals: Fix some cast and fallthrough warnings. No functional change

This commit is contained in:
Wilson Snyder
2017-09-14 23:27:06 -04:00
parent 960b2ed023
commit cf6a69da27
4 changed files with 8 additions and 7 deletions
+2 -1
View File
@@ -1310,7 +1310,8 @@ int V3PreProcImp::getStateToken() {
goto next_tok;
}
}
fatalSrc("Bad case\n");
fatalSrc("Bad case\n"); // FALLTHRU
goto next_tok; // but not really, above fatal catches it, but if add goto, static analysis complains
}
case VP_ERROR: {
statePush(ps_ERRORNAME);