9243 nsswitch/ldap: comparison between pointer and zero character constant

Review Request #936 - Created March 6, 2018 and submitted

Information
Toomas Soome
illumos-gate
9243
58679e7...
Reviewers
general
../common/getprinter.c:139:29: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
         (attr->attrvalue[j] == '\0')) {
                             ^~
../common/getprinter.c:139:10: note: did you mean to dereference the pointer?
         (attr->attrvalue[j] == '\0')) {
          ^
cc1: all warnings being treated as errors

  

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
C Fraire
Toomas Soome
C Fraire
Andy Fiddaman
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...