Project

General

Profile

Actions

Bug #8715

closed

sil3xxx: variable set but unused

Added by Toomas Soome over 6 years ago. Updated over 6 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:
External Bug:

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

Also available in: Atom PDF