Project

General

Profile

Actions

Bug #9175

closed

smbsrv/libfksmbsrv: this statement may fall through

Added by Toomas Soome almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2018-02-22
Due date:
% Done:

100%

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

Description

Issue found by gcc 7 build:

    ../../common/fs/smbsrv/smb_server.c:1371:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
       if (!smb_server_lookup(&sv)) {
          ^
    ../../common/fs/smbsrv/smb_server.c:1383:2: note: here
      default:
      ^~~~~~~
    cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF