apply some code analyzer recommendations
This commit is contained in:
@@ -31,7 +31,7 @@ void CInterface::autoConnect(PIObject * o, const PIString & prefix) {
|
||||
// piCout << "func" << it.value().func_name;
|
||||
}
|
||||
PIVector<CDType *> cl = C.root().children();
|
||||
piForeachC(CDType * c, cl) {
|
||||
for (const auto * c: cl) {
|
||||
PIString cp = prefix + c->pathString().join("_");
|
||||
if (cp.isEmpty()) continue;
|
||||
if (!eh_map.contains(cp)) continue;
|
||||
|
||||
Reference in New Issue
Block a user