Actions
Bug #12403
closedsrn: variable may be used uninitialized
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
Description
Build error with gcc 9:
../../common/io/srn.c: In function 'srn_notify': ../../common/io/srn.c:559:9: error: 'count' may be used uninitialized in this function [-Werror=maybe-uninitialized] 559 | count--; | ~~~~~^~ cc1: all warnings being treated as errors
Updated by Electric Monk about 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit c4c986b810b9fd93e8a611caf5ed0f346a84416c
commit c4c986b810b9fd93e8a611caf5ed0f346a84416c Author: Toomas Soome <tsoome@me.com> Date: 2020-04-07T06:03:59.000Z 12403 srn: variable may be used uninitialized Reviewed by: Rob Johnston <rob.johnston@joyent.com> Reviewed by: Yuri Pankov <ypankov@fastmail.com> Reviewed by: Randy Fishel <randyf@sibernet.com> Approved by: Dan McDonald <danmcd@joyent.com>
Actions