Bug #12420
fd: variable may be used uninitialized
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
Description
Build errors with gcc 9:
../../common/io/fd.c: In function 'fdgetlabel': ../../common/io/fd.c:871:5: error: 'rval' may be used uninitialized in this function [-Werror=maybe-uninitialized] 871 | if (rval) { | ^ cc1: all warnings being treated as errors
Testing done: build/install/boot
Updated by Electric Monk 10 months ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit d1d0a29b5275e074d59d170cca23b45a6e5834d8
commit d1d0a29b5275e074d59d170cca23b45a6e5834d8 Author: Toomas Soome <tsoome@me.com> Date: 2020-03-23T16:20:13.000Z 12420 fd: variable may be used uninitialized Reviewed by: Yuri Pankov <ypankov@fastmail.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>