refs # 11106 (optimize CheckUnusedVar::checkStructMemberUsage()) - added missing loop breaks (#4376)

This commit is contained in:
Oliver Stöneberg 2022-08-18 23:36:21 +02:00 committed by GitHub
parent 6a0c254d1f
commit e09f5f0db7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -1448,6 +1448,9 @@ void CheckUnusedVar::checkStructMemberUsage()
}
}
}
if (bailout)
break;
}
if (bailout)
continue;
@ -1471,6 +1474,9 @@ void CheckUnusedVar::checkStructMemberUsage()
addrTok = addrTok->next();
} while (addrTok);
}
if (bailout)
break;
}
if (bailout)
continue;