Bug 1521325 Comment 2 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

I've looked at the change suggested by the static analysis and agree. 

The condition that triggers the line in question breaks out of the loop.

``` 
for (some range)
  value = foo

  if (condition) {
    value = bar // the line in question
    break;
  }

  /* use value */

end
```

So if the condition is triggered, we leave the loop before `value` is used.

Back to Bug 1521325 Comment 2