Project

General

Profile

Bug #9298

inetadm: this statement may fall through

Added by Toomas Soome over 1 year ago. Updated over 1 year ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:

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

History

#1

Updated by Electric Monk over 1 year ago

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

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>

Also available in: Atom PDF