9149 libbsm: comparison between pointer and zero character constant
Review Request #882 — Created Feb. 20, 2018 and submitted
Information | |
---|---|
tsoome | |
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