Project

General

Profile

Actions

Bug #8814

closed

nxge: variable 'ether_class' set but not used

Added by Toomas Soome over 4 years ago. Updated over 4 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Debug build error from gcc 6:

    ../../common/io/nxge/nxge_ndd.c:1755:11: error: variable 'ether_class' set but not used [-Werror=unused-but-set-variable]
      uint8_t  ether_class;
               ^~~~~~~~~~~
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk over 4 years ago

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

git commit fe054a6ca181843f102908c7e101f69bb5ea5b59

commit  fe054a6ca181843f102908c7e101f69bb5ea5b59
Author: Toomas Soome <tsoome@me.com>
Date:   2017-12-11T15:16:34.000Z

    8814 nxge: variable 'ether_class' set but not used
    Reviewed by: Gary Mills <gary_mills@fastmail.fm>
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF