remove unnecessary nonnegative check for unsigned variable
Merge pull request #5487 from chinhodado/patch-1

remove unnecessary nonnegative check for unsigned variable