Remove last redundant loop condition
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.
parent
5905a6ec
Please register or sign in to comment