From abad21ae237b509efc6121cae40e0c42b599fde1 Mon Sep 17 00:00:00 2001 From: Suhas Shankar Date: Thu, 18 Apr 2024 18:29:52 +0530 Subject: [PATCH] fix for build failure --- examples/chip-tool/commands/common/DeviceScanner.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/chip-tool/commands/common/DeviceScanner.cpp b/examples/chip-tool/commands/common/DeviceScanner.cpp index 75dcd31abcebce..4012615787eec5 100644 --- a/examples/chip-tool/commands/common/DeviceScanner.cpp +++ b/examples/chip-tool/commands/common/DeviceScanner.cpp @@ -55,7 +55,8 @@ CHIP_ERROR DeviceScanner::Stop() void DeviceScanner::OnNodeDiscovered(const DiscoveredNodeData & nodeData) { - VerifyOrReturn(nodeData.Is()) auto & commissionData = nodeData.Get(); + VerifyOrReturn(nodeData.Is()); + auto & commissionData = nodeData.Get(); auto discriminator = commissionData.longDiscriminator; auto vendorId = static_cast(commissionData.vendorId);