Project

General

Profile

Bug #9151

libdhcputil: this statement may fall through

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2018-02-20
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

Issue found by gcc 7 build:

    ../common/dhcp_inittab.c: In function 'inittab_msg':
    ../common/dhcp_inittab.c:1400:10: error: this statement may fall through [-Werror=implicit-fallthrough=]
       action = INITTAB_MSG_OUTPUT;
       ~~~~~~~^~~~~~~~~~~~~~~~~~~~
    ../common/dhcp_inittab.c:1404:2: note: here
      case INITTAB_MSG_OUTPUT:
      ^~~~
    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 e501678557789347eedf20b9e0f9a5014f56f18d

commit  e501678557789347eedf20b9e0f9a5014f56f18d
Author: Toomas Soome <tsoome@me.com>
Date:   2018-02-22T15:59:08.000Z

    9151 libdhcputil: this statement may fall through
    Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF