Commit 406eb4b7 authored by Ralf Habacker's avatar Ralf Habacker

Coverity check CID 71467: Logically dead code (DEADCODE)

Execution cannot reach the expression 'else { .... }' because
the roleview_list == 0 case exits the method earlier.
parent 849f7a41
......@@ -488,9 +488,6 @@ void handleAssocView(PetalNode *attr,
uError() << assocStr << " roleview_list roles are incomplete";
return;
}
} else {
supElem = attr->findAttribute(QLatin1String("supplier"));
cliElem = attr->findAttribute(QLatin1String("client"));
}
QString supplier = supElem.string;
QString client = cliElem.string;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment