9069 libfru: comparison between pointer and zero character constant

Review Request #844 - Created Feb. 7, 2018 and submitted

Information
Toomas Soome
illumos-gate
9069
c3c6997...
Reviewers
general
../raw_access.c: In function 'get_container_info':
../raw_access.c:491:13: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
    if (item == '\0') {
             ^~
../raw_access.c:491:8: note: did you mean to dereference the pointer?
    if (item == '\0') {
        ^
cc1: all warnings being treated as errors

  
Andrew Stormont
Toomas Soome
Andrew Stormont
Andy Fiddaman
Sebastian Wiedenroth
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...