Project

General

Profile

Bug #12406

audiop16x: 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/audiop16x/audiop16x.c: In function 'p16x_chinfo':
    ../../common/io/audio/drv/audiop16x/audiop16x.c:343:11: error: 'mult' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      343 |  unsigned mult;
          |           ^~~~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 20 days ago

  • Gerrit CR set to 425

Also available in: Atom PDF