Fix cppcheck warnings. No functional change intended.

This commit is contained in:
Wilson Snyder
2020-02-03 23:21:56 -05:00
parent 0aabe6ce00
commit 609a5dc26d
33 changed files with 96 additions and 98 deletions
+1 -3
View File
@@ -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.