Actions
Bug #9069
closedlibfru: comparison between pointer and zero character constant
Start date:
2018-02-07
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Issue found by gcc 7 build:
../raw_access.c: In function 'get_container_info': ../raw_access.c:491:13: error: comparison between pointer and zero character constant [-Werror=pointer-compare] if (item == '\0') { ^~ ../raw_access.c:491:8: note: did you mean to dereference the pointer? if (item == '\0') { ^ cc1: all warnings being treated as errors
Updated by Electric Monk over 4 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit a356818ef9fb10d29d03bcf84f6535092a4efff2
commit a356818ef9fb10d29d03bcf84f6535092a4efff2 Author: Toomas Soome <tsoome@me.com> Date: 2018-02-08T18:10:51.000Z 9069 libfru: comparison between pointer and zero character constant Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Sebastian Wiedenroth <wiedi@frubar.net> Approved by: Richard Lowe <richlowe@richlowe.net>
Actions