Actions
Bug #9243
closednsswitch/ldap: comparison between pointer and zero character constant
Start date:
2018-03-06
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
Description
issue found by gcc 7 build:
../common/getprinter.c:139:29: error: comparison between pointer and zero character constant [-Werror=pointer-compare] (attr->attrvalue[j] == '\0')) { ^~ ../common/getprinter.c:139:10: note: did you mean to dereference the pointer? (attr->attrvalue[j] == '\0')) { ^ cc1: all warnings being treated as errors
Updated by Electric Monk about 4 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 5135ad20c9f4ed5bf570f078a3bd3a837de6c2cd
commit 5135ad20c9f4ed5bf570f078a3bd3a837de6c2cd Author: Toomas Soome <tsoome@me.com> Date: 2018-04-23T16:15:40.000Z 9243 nsswitch/ldap: comparison between pointer and zero character constant Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Robert Mustacchi <rm@joyent.com>
Actions