Fix cppcheck warnings. No functional change intended.

This commit is contained in:
Wilson Snyder
2020-12-23 15:22:02 -05:00
parent 941e5c659a
commit b7a533109d
19 changed files with 38 additions and 41 deletions
-1
View File
@@ -1317,7 +1317,6 @@ int V3PreProcImp::getStateToken() {
// Convert any newlines to spaces, so we don't get a
// multiline "..." without \ escapes.
// The spec is silent about this either way; simulators vary
string::size_type pos;
std::replace(out.begin(), out.end(), '\n', ' ');
unputString(string("\"") + out + "\"");
statePop();