Project

General

Profile

Actions

Bug #9298

closed

inetadm: this statement may fall through

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2018-03-17
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

issue found by gcc 7 build:

inetadm.c: In function 'main':
inetadm.c:1027:5: error: this statement may fall through [-Werror=implicit-fallthrough=]
     usage(B_FALSE);
     ^~~~~~~~~~~~~~
inetadm.c:1029:3: note: here
   default:
   ^~~~~~~
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 c1a6e54c47eeacae6f9c3fe84571981c20f6d36c

commit  c1a6e54c47eeacae6f9c3fe84571981c20f6d36c
Author: Toomas Soome <tsoome@me.com>
Date:   2018-03-25T18:16:15.000Z

    9298 inetadm: this statement may fall through
    Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Approved by: Gordon Ross <gwr@nexenta.com>

Actions

Also available in: Atom PDF