Project

General

Profile

Bug #12405

audioens: variable may be used uninitialized

Added by Toomas Soome 4 months ago. Updated 20 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Build errors with gcc 9:

    ../../common/io/audio/drv/audioens/audioens.c: In function 'audioens_count':
    ../../common/io/audio/drv/audioens/audioens.c:698:12: error: 'page' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      698 |  frameno = audioens_readmem(port->dev, page, offs) >> 16;
          |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 20 days ago

  • Gerrit CR set to 424

Also available in: Atom PDF