Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Incorrect loop variable #10414

Merged
merged 1 commit into from
Mar 23, 2017
Merged

Incorrect loop variable #10414

merged 1 commit into from
Mar 23, 2017

Commits on Mar 23, 2017

  1. I used PVS-Studio static analyzer to check this project. I would like…

    … to suggest a variant of the way to fix the error, detected with the help of V534 diagnostic. Description of the diagnostic: https://www.viva64.com/en/examples/v534/
    
    Incorrect variable 'i' from the outer loop is used in condition of the inner loop.
    IlyaPVS committed Mar 23, 2017
    Configuration menu
    Copy the full SHA
    1507397 View commit details
    Browse the repository at this point in the history