• Stefan Brüns's avatar
    Remove last redundant loop condition · 184bc28a
    Stefan Brüns authored
    As `skipped` is always reset to 0, the condition is always true.
    Change the skipValidItems calculation to make it more obvious it
    calculates the remainder, and is always a positive value.
    Declare skipped inside the loop, as it is only used inside the loop.
    No functional changes.
thumbnail.cpp 26.3 KB