9028 libc: comparison between pointer and zero character constant
Review Request #830 — Created Feb. 5, 2018 and submitted
Information | |
---|---|
tsoome | |
illumos-gate | |
9028 | |
8785a03... | |
Reviewers | |
general | |
../port/gen/nlspath_checks.c: In function 'clean_env': ../port/gen/nlspath_checks.c:629:30: error: comparison between pointer and zero character constant [-Werror=pointer-compare] for (p++; (p[-off] = p[0]) != '\0'; p++) ^~ ../port/gen/nlspath_checks.c:629:13: note: did you mean to dereference the pointer? for (p++; (p[-off] = p[0]) != '\0'; p++) ^ cc1: all warnings being treated as errors
Change Summary:
just marking the ident removal...
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+1 -3) |