mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +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>();
|
||||
} catch (IfcParse::IfcException& e) {
|
||||
Logger::Error(e);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!context) {
|
||||
|
||||
Reference in New Issue
Block a user