Project

General

Profile

Bug #9163

libsmbfs: this statement may fall through

Added by Toomas Soome over 1 year ago. Updated over 1 year ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

issue found by gcc 7 build:

    ../smb/rap.c: In function 'smb_rap_rqparam':
    ../smb/rap.c:192:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
       len = plen;
       ~~~~^~~~~~
    ../smb/rap.c:193:2: 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 2a898b17c54fe53254413d8d4cac0de440289b59

commit  2a898b17c54fe53254413d8d4cac0de440289b59
Author: Toomas Soome <tsoome@me.com>
Date:   2018-02-27T01:40:43.000Z

    9163 libsmbfs: this statement may fall through
    Reviewed by: C Fraire <cfraire@me.com>
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Approved by: Gordon Ross <gwr@nexenta.com>

Also available in: Atom PDF