Project

General

Profile

Actions

Bug #9310

closed

smbstat: this statement may fall through

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

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

Actions #1

Updated by Electric Monk over 4 years ago

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

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>

Actions

Also available in: Atom PDF