core: remove tautological condition

unsigned number is always greater than 0

https://bugzilla.gnome.org/show_bug.cgi?id=720818