mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-30 12:09:51 +00:00
Uninitialized use of context
This commit is contained in:
@@ -1004,6 +1004,7 @@ void mapping::addRepresentationsFromContextIds(IfcSchema::IfcRepresentation::lis
|
|||||||
context = file_->instance_by_id(context_id)->as<IfcSchema::IfcGeometricRepresentationContext>();
|
context = file_->instance_by_id(context_id)->as<IfcSchema::IfcGeometricRepresentationContext>();
|
||||||
} catch (IfcParse::IfcException& e) {
|
} catch (IfcParse::IfcException& e) {
|
||||||
Logger::Error(e);
|
Logger::Error(e);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!context) {
|
if (!context) {
|
||||||
|
|||||||
Reference in New Issue
Block a user