Project

General

Profile

Bug #9302

dhcpagent: 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:
Bite-size
Tags:

Description

issue found by gcc 7 build:

    agent.c:969:19: error: this statement may fall through [-Werror=implicit-fallthrough=]
      case DHCP_START: {
                       ^
    agent.c:1018:2: note: here
      case DHCP_STATUS: {
      ^~~~
    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 e8f5b7dfac8c9ba83bf59912c6255d201326726f

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

    9302 dhcpagent: this statement may fall through
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Reviewed by: Jason King <jason.brian.king@gmail.com>
    Approved by: Gordon Ross <gwr@nexenta.com>

Also available in: Atom PDF