Project

General

Profile

Bug #9355

truss: this statement may fall through

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

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

issue found by gcc 7 build:

    ../expound.c: In function 'expound':
    ../expound.c:5267:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
       if (!lp64) {
          ^
    ../expound.c:5276:2: note: here
      case SYS_getdents64:
      ^~~~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk about 1 year ago

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

git commit 0b09d754d66bb2026be92bbbc38f7c8ba454cf0c

commit  0b09d754d66bb2026be92bbbc38f7c8ba454cf0c
Author: Toomas Soome <tsoome@me.com>
Date:   2018-05-10T17:29:25.000Z

    9355 truss: this statement may fall through
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Reviewed by: C Fraire <cfraire@me.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF