Project

General

Profile

Bug #9310

smbstat: 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-18
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

issue found by gcc 7 build:

    smbstat.c: In function 'main':
    smbstat.c:346:4: error: this statement may fall through [-Werror=implicit-fallthrough=]
        smbstat_usage(stdout, 0);
        ^~~~~~~~~~~~~~~~~~~~~~~~
    smbstat.c:347:3: note: here
       default:
       ^~~~~~~
    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 f5aec9463bdc4209d1ea6ef806601aa374b3cfc8

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

    9310 smbstat: this statement may fall through
    Reviewed by: C Fraire <cfraire@me.com>
    Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
    Approved by: Gordon Ross <gwr@nexenta.com>

Also available in: Atom PDF