9149 libbsm: comparison between pointer and zero character constant

Review Request #882 — Created Feb. 20, 2018 and submitted — Latest diff uploaded

tsoome
illumos-gate
9149
bff3fbd...
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


Loading...