refs # 11106 (optimize CheckUnusedVar::checkStructMemberUsage()) - added missing loop breaks (#4376)
This commit is contained in:
parent
6a0c254d1f
commit
e09f5f0db7
|
@ -1448,6 +1448,9 @@ void CheckUnusedVar::checkStructMemberUsage()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (bailout)
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
if (bailout)
|
if (bailout)
|
||||||
continue;
|
continue;
|
||||||
|
@ -1471,6 +1474,9 @@ void CheckUnusedVar::checkStructMemberUsage()
|
||||||
addrTok = addrTok->next();
|
addrTok = addrTok->next();
|
||||||
} while (addrTok);
|
} while (addrTok);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (bailout)
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
if (bailout)
|
if (bailout)
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue