mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internal: cppcheck fixes. No functional change intended.
This commit is contained in:
+2
-4
@@ -267,10 +267,8 @@ void V3LinkLevel::wrapTopCell(AstNetlist* rootp) {
|
||||
varp->protect(false);
|
||||
newmodp->addStmtsp(varp);
|
||||
varp->sigPublic(true); // User needs to be able to get to it...
|
||||
if (oldvarp->isIO()) {
|
||||
oldvarp->primaryIO(false);
|
||||
varp->primaryIO(true);
|
||||
}
|
||||
oldvarp->primaryIO(false);
|
||||
varp->primaryIO(true);
|
||||
if (varp->direction().isRefOrConstRef()) {
|
||||
varp->v3warn(E_UNSUPPORTED,
|
||||
"Unsupported: ref/const ref as primary input/output: "
|
||||
|
||||
Reference in New Issue
Block a user