Skip to content

Commit

Permalink
Add parentheses
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan Mégevand <[email protected]>
  • Loading branch information
Damian-Nordic and jmeg-sfy authored Jun 21, 2022
1 parent 2b10cad commit a257ca4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2077,7 +2077,7 @@ bool GenericThreadStackManagerImpl_OpenThread<ImplClass>::SrpClient::Service::Ma
{
size_t myNumSubTypes = 0;

for (const char * const * mySubType = mService.mSubTypeLabels; mySubType != nullptr && *mySubType != nullptr; ++mySubType)
for (const char * const * mySubType = mService.mSubTypeLabels; (mySubType != nullptr) && (*mySubType != nullptr); ++mySubType)
{
myNumSubTypes++;
}
Expand Down

0 comments on commit a257ca4

Please sign in to comment.