Formatting
This commit is contained in:
@@ -116,7 +116,6 @@ void DeviceManager::newDeviceAttachmentSpecInd(
|
||||
std::make_shared<DeviceAttachmentSpec>(*spec));
|
||||
}
|
||||
|
||||
// Find or create the Device for this spec
|
||||
bool deviceExists = false;
|
||||
std::shared_ptr<Device> device = nullptr;
|
||||
for (const auto& existingDevice : devices)
|
||||
@@ -149,7 +148,7 @@ void DeviceManager::newDeviceAttachmentSpecInd(
|
||||
}
|
||||
}
|
||||
|
||||
// Consistency check: if DeviceRole exists, both spec and device must also exist
|
||||
// If DeviceRole exists, both spec and device must also exist
|
||||
if (deviceRoleExists)
|
||||
{
|
||||
if (!specExists || !deviceExists)
|
||||
|
||||
Reference in New Issue
Block a user