Skip to content
  • Jaime Torres Amate's avatar
    Descend the array in the right way · 0f87010a
    Jaime Torres Amate authored
    Summary:
    Detected by cppcheck as Opposite inner 'if' condition leads to a dead code block (outer condition is 'j>0' and inner condition is 'j==0').
    The array is 0 based, therefore [0-4].
    
    Test Plan: make test passes
    
    Reviewers: #krita, dkazakov
    
    Reviewed By: #krita, dkazakov
    
    Subscribers: dkazakov
    
    Tags: #krita
    
    Differential Revision: https://phabricator.kde.org/D15905
    0f87010a