Project

General

Profile

Bug #12458

iwh: variable may be used uninitialized

Added by Toomas Soome 8 months ago. Updated 8 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

#1

Updated by Electric Monk 8 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit dd6b11ddff7060f33ccf31e17387d9e1c430a013

commit  dd6b11ddff7060f33ccf31e17387d9e1c430a013
Author: Toomas Soome <tsoome@me.com>
Date:   2020-04-07T06:15:45.000Z

    12458 iwh: variable may be used uninitialized
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF