Skip to content

Commit

Permalink
initialise variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Kshitijjain21 committed Apr 16, 2024
1 parent ba7ca94 commit e8d1d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/Linux/NetworkCommissioningWiFiDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ void LinuxWiFiDriver::ScanNetworks(ByteSpan ssid, WiFiDriver::ScanCallback * cal

size_t LinuxWiFiDriver::WiFiNetworkIterator::Count()
{
size_t count;
size_t count = 0;
for (int networkIndex = 0; networkIndex < kMaxNetworks; networkIndex++)
{
if(!driver->mStagingNetwork[networkIndex].Empty())
Expand Down

0 comments on commit e8d1d36

Please sign in to comment.