espressif / esp-dl

Espressif deep-learning library for AIoT applications
MIT License
548 stars 118 forks source link

Self-comparison error in image_util.c #21

Closed robinvanemden closed 4 years ago

robinvanemden commented 4 years ago

On compilation, I encounter:

../components/esp-face/image_util/image_util.c:454:33: error: 
     self-comparison always evaluates to true [-Werror=tautological-compare]

     if (src_w == dst_w && src_h == src_h)
                           ^^^^^^^^^^^^^^

This can be corrected by changing the offending line 454 to:

     if (src_w == dst_w && src_h == dst_h)
robinvanemden commented 4 years ago

See pull request:

https://github.com/espressif/esp-face/pull/22

robinvanemden commented 4 years ago

Fixed in

https://github.com/espressif/esp-face/pull/22