Project

General

Profile

Bug #8160

zic: this statement may fall through

Added by Toomas Soome over 2 years ago. Updated over 2 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:

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

History

#1

Updated by Electric Monk over 2 years ago

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

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>

Also available in: Atom PDF