mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Fix cppcheck warnings. No functional change intended.
This commit is contained in:
+1
-3
@@ -385,9 +385,7 @@ private:
|
||||
<<pinp->prettyNameQ());
|
||||
}
|
||||
}
|
||||
if (ports.find(pinp->name()) == ports.end()) {
|
||||
ports.insert(pinp->name());
|
||||
}
|
||||
ports.insert(pinp->name());
|
||||
}
|
||||
// We search ports, rather than in/out declarations as they aren't resolved yet,
|
||||
// and it's easier to do it now than in V3LinkDot when we'd need to repeat steps.
|
||||
|
||||
Reference in New Issue
Block a user