9149 libbsm: comparison between pointer and zero character constant

Review Request #882 - Created Feb. 20, 2018 and submitted

Information
Toomas Soome
illumos-gate
9149
bff3fbd...
Reviewers
general
../common/getauditflags.c:180:13: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
   if (flags == '\0') {
             ^~
../common/getauditflags.c:180:7: note: did you mean to dereference the pointer?
   if (flags == '\0') {
       ^
cc1: all warnings being treated as errors

  
Andy Fiddaman
Albert Lee
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...