Project

General

Profile

Actions

Bug #8160

closed

zic: this statement may fall through

Added by Toomas Soome about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2017-05-05
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

building with gcc 7.1:

/code/illumos-gate/usr/src/cmd/zic/zic.c:483:5: error: this statement may fall through [-Werror=implicit-fallthrough=]
usage();
^~~~~
/code/illumos-gate/usr/src/cmd/zic/zic.c:484:4: note: here
case 'd':
^~~~
cc1: all warnings being treated as errors
Actions #1

Updated by Electric Monk about 6 years ago

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

git commit 9cdf9e12f0c6a1d10a3583d36c9a167cf71f48f4

commit  9cdf9e12f0c6a1d10a3583d36c9a167cf71f48f4
Author: Toomas Soome <tsoome@me.com>
Date:   2017-05-06T19:06:03.000Z

    8160 zic: this statement may fall through
    Reviewed by: Jason King <jason.brian.king+illumos@gmail.com>
    Reviewed by: Yuri Pankov <yuri.pankov@gmail.com>
    Reviewed by: Vitaliy Gusev <gusev.vitaliy@icloud.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Actions

Also available in: Atom PDF