mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 10:33:13 +02:00
Internals: Fix cppcheck warnings; add VL_DANGLING. No functional change.
This commit is contained in:
+1
-1
@@ -1074,7 +1074,7 @@ int V3PreProcImp::getStateToken() {
|
||||
out = defineSubst(refp);
|
||||
//NOP: out = m_preprocp->defSubstitute(out);
|
||||
}
|
||||
m_defRefs.pop(); refp=NULL;
|
||||
m_defRefs.pop(); VL_DANGLING(refp);
|
||||
if (m_defRefs.empty()) {
|
||||
statePop();
|
||||
if (!m_off) unputDefrefString(out);
|
||||
|
||||
Reference in New Issue
Block a user