From 7ab6e7b2c3d85fd196982f47d554d773e7da5de1 Mon Sep 17 00:00:00 2001 From: Hayodea Hekol Date: Sun, 28 Sep 2025 11:05:04 -0400 Subject: [PATCH] Formatting --- smocore/deviceManager/deviceManager.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/smocore/deviceManager/deviceManager.cpp b/smocore/deviceManager/deviceManager.cpp index a495609..1968588 100644 --- a/smocore/deviceManager/deviceManager.cpp +++ b/smocore/deviceManager/deviceManager.cpp @@ -116,7 +116,6 @@ void DeviceManager::newDeviceAttachmentSpecInd( std::make_shared(*spec)); } - // Find or create the Device for this spec bool deviceExists = false; std::shared_ptr 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)