Project

General

Profile

Actions

Bug #8715

closed

sil3xxx: variable set but unused

Added by Toomas Soome almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2017-10-13
Due date:
% Done:

100%

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

Description

Debug mode build error with gcc 6:

    ../../intel/io/dktp/controller/ata/sil3xxx.c: In function 'sil3xxx_init_controller':
    ../../intel/io/dktp/controller/ata/sil3xxx.c:63:11: error: variable 'sfiscfg_val' set but not used [-Werror=unused-but-set-variable]
      ushort_t sfiscfg_val;
               ^~~~~~~~~~~
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk almost 5 years ago

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

git commit 7d0b359ca572cd04474eb1f2ceec5a8ff39e36c9

commit  7d0b359ca572cd04474eb1f2ceec5a8ff39e36c9
Author: Toomas Soome <tsoome@me.com>
Date:   2017-10-17T20:34:33.000Z

    8715 sil3xxx: variable set but unused
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF