Hi,
The while loop iterating parent loop in ScopBuilder::buildDomains is unnecessary because either L or LD are later unused, this is a simple patch removing it. Is it OK?
Thanks,
bin
Differential D66698
[ScopBuilder]Remove redundant while loop in ScopBuilder::buildDomains bin.narwal on Aug 23 2019, 7:45 PM. Authored by
Details Hi, Thanks,
Diff Detail
Event TimelineComment Actions LGMT. L is just unused after that (not "redundant"). Can you correct the summary? I can commit this for you if you would like me to. Comment Actions Hmm, but the while loop is redundant, right? I modified the summary mentioning that L/LD are later unused.
Yes, please help commit this for me. Thanks very much. Comment Actions In my understanding of the word, "redundant" means unnecessarily doing something that has already been done. I'd call the loop "dead". |