mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Fix remaining cppcheck errors (#6319)
Fixed the non const-related issue and added suppressions for the const ones. With that `make cppcheck` should be clean.
This commit is contained in:
@@ -862,11 +862,6 @@ class TristateVisitor final : public TristateBaseVisitor {
|
||||
if (varRefp->varp()->isNet()) {
|
||||
m_assigns[varRefp->varp()].push_back(nodep);
|
||||
} else if (nodep->strengthSpecp()) {
|
||||
if (!varRefp->varp()->isNet())
|
||||
nodep->v3warn(E_UNSUPPORTED, "Unsupported: Signal strengths are unsupported "
|
||||
"on the following variable type: "
|
||||
<< varRefp->varp()->varType());
|
||||
|
||||
nodep->strengthSpecp()->unlinkFrBack()->deleteTree();
|
||||
}
|
||||
} else if (nodep->strengthSpecp()) {
|
||||
|
||||
Reference in New Issue
Block a user