9149 libbsm: comparison between pointer and zero character constant

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

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


citrus
  1. Ship It!
  2. 
      
trisk
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...