mirror of
https://github.com/verilator/verilator.git
synced 2026-09-04 08:33:38 +02:00
Internals: cppcheck fixes. No functional change. (#6687)
This commit is contained in:
+1
-1
@@ -133,7 +133,7 @@ public:
|
||||
, m_statep{statep} {}
|
||||
~LifeBlock() = default;
|
||||
// METHODS
|
||||
void checkRemoveAssign(AstVarScope* vscp, LifeVarEntry& entr) {
|
||||
void checkRemoveAssign(const AstVarScope* vscp, LifeVarEntry& entr) {
|
||||
const AstVar* const varp = vscp->varp();
|
||||
// We don't optimize any public sigs
|
||||
if (varp->isSigPublic()) return;
|
||||
|
||||
Reference in New Issue
Block a user