mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 18:42:58 +02:00
Internals: cppcheck fixes. No functional change. (#6687)
This commit is contained in:
+1
-1
@@ -752,7 +752,7 @@ void V3OutFormatter::putns(const AstNode* nodep, const char* strg) {
|
||||
}
|
||||
|
||||
if (putNodeDecoration) {
|
||||
FileLine* const flp = nodep->fileline();
|
||||
const FileLine* const flp = nodep->fileline();
|
||||
m_sourceLastLineno = flp->firstLineno();
|
||||
m_sourceLastFilenameno = flp->filenameno();
|
||||
const std::string lineno = std::to_string(flp->lineno());
|
||||
|
||||
Reference in New Issue
Block a user