scott <sco### [at] scottcom> wrote:
> > What if there are no variables mentioned there?
> It can just ignore it, the purpose is to catch a mistake like when you
> forget to increment the index counter, not catch all infinite loops (that is
> impossible).
If the variable mentioned in the condition is not the variable which
changes and decides when the loop ends, the checker would give a false
positive.
--
- Warp
Post a reply to this message
|