grant-h / omap_loader

A USB BootROM uploading utility for TI ARM OMAP3 family processors. Rewrite of omap3_usbload. Supports USBLOAD functionality in TI's X-Loader.
GNU General Public License v2.0
6 stars 5 forks source link

self-comparison always evaluates to true #3

Open smdjeff opened 6 years ago

smdjeff commented 6 years ago

omap_loader.c:290:13: warning: self-comparison always evaluates to true [-Wtautological-compare] if(iter >= iter)

grant-h commented 6 years ago

Good catch. What version of GCC or Clang gave you this error?

drownedGirl-7E7 commented 6 months ago

I am seeing this same message. I'm using gcc 11.4.0 clang 15.0.0 on lubuntu 22.04