Skip to content

Commit 777a609

Browse files
committed
Fix Darwing Clangtidy issue
1 parent 8e92e77 commit 777a609

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/clusters/network-commissioning/network-commissioning.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,8 @@ CHIP_ERROR Instance::EnumerateAcceptedCommands(const ConcreteClusterPath & clust
13881388
// Avoid extra memory allocation
13891389
return builder.ReferenceExisting({ commands, kNetworkCommands + (hasCred ? kCredentialsCommands : 0) });
13901390
}
1391-
else if (hasCred)
1391+
1392+
if (hasCred)
13921393
{ // Skip the network commands send the rest
13931394
return builder.ReferenceExisting({ commands + kNetworkCommands, kCredentialsCommands });
13941395
}

0 commit comments

Comments
 (0)