Skip to content

Commit

Permalink
Fix 2 more items found by clang-tidy during CI
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Nov 3, 2022
1 parent 20602f1 commit c30cb7a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion examples/bridge-app/linux/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ int AddDeviceEndpoint(Device * dev, EmberAfEndpointType * ep, const Span<const E
{
gDevices[index] = dev;
EmberAfStatus ret;
while (1)
while (true)
{
// Todo: Update this to schedule the work rather than use this lock
DeviceLayer::StackLock lock;
Expand Down
1 change: 0 additions & 1 deletion examples/tv-casting-app/linux/CastingShellCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ void PrintBindings()
binding.type, binding.fabricIndex, ChipLogValueX64(binding.nodeId), binding.groupId, binding.local,
binding.remote, ChipLogValueMEI(binding.clusterId.ValueOr(0)));
}
return;
}

static CHIP_ERROR CastingHandler(int argc, char ** argv)
Expand Down

0 comments on commit c30cb7a

Please sign in to comment.