Project

General

Profile

Bug #12458

iwh: 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/iwh/iwh.c: In function 'iwh_send':
../../common/io/iwh/iwh.c:3383:9: error: 'rate' may be used uninitialized in this function [-Werror=maybe-uninitialized]
 3383 |    rate |= LE_32(RATE_MCS_ANT_B_MSK);
cc1: all warnings being treated as errors

Also available in: Atom PDF