Project

General

Profile

Bug #12420

fd: variable may be used uninitialized

Added by Toomas Soome 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
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

Also available in: Atom PDF