9370 tip: comparison between pointer and zero character constant

Review Request #1013 - Created March 27, 2018 and submitted - Latest diff uploaded

Information
Toomas Soome
illumos-gate
9370, 9467
8319a1b...
Reviewers
general
acu.c: In function 'acutype':
acu.c:157:34: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
   for (p = acutable; p->acu_name != '\0'; p++)
                                  ^~
acu.c:157:22: note: did you mean to dereference the pointer?
   for (p = acutable; p->acu_name != '\0'; p++)
                      ^
cc1: all warnings being treated as errors

  
Loading...