Fix "Useless use of numeric gt (>) in void context"