Fix some cppcheck warnings. No functional change intended.

This commit is contained in:
Wilson Snyder
2025-03-27 19:46:59 -04:00
parent 5e69faff46
commit 98b89d0f2c
9 changed files with 17 additions and 20 deletions
+1 -1
View File
@@ -4283,8 +4283,8 @@ class LinkDotResolveVisitor final : public VNVisitor {
} else if (m_insideClassExtParam) {
return;
} else {
if (foundp) UINFO(1, "Found sym node: " << foundp->nodep() << endl);
if (foundp) {
UINFO(1, "Found sym node: " << foundp->nodep() << endl);
nodep->v3error("Expecting a data type: " << nodep->prettyNameQ());
} else {
nodep->v3error("Can't find typedef/interface: " << nodep->prettyNameQ());