mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Fix cppcheck warnings. No functional change intended.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user