GNOME Bugzilla – Bug 782302
suspicious warning with GCC 7 (comparison between pointer and zero character constant)
Last modified: 2017-06-02 05:55:33 UTC
I just noticed this while building easytag with GCC 7 and it looks suspicious to me. This is with 2.4.3. src/browser.c: In function ‘et_browser_select_dir’: src/browser.c:1074:26: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (parts[index] == '\0') ^~ src/browser.c:1074:13: note: did you mean to dereference the pointer? if (parts[index] == '\0') ^
Thanks for the report, this is indeed a bug. I fixed it on master with commit d0c05132e6e32f907044fbe5ebd4fe90888b5010.