Project

General

Profile

Bug #9148

sun_sas: this statement may fall through

Added by Toomas Soome almost 2 years ago. Updated almost 2 years ago.

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Issue found by gcc 7 build:

    ../common/sun_sas.c:278:5: error: this statement may fall through [-Werror=implicit-fallthrough=]
         log(LOG_DEBUG, ROUTINE,
         ^~~~~~~~~~~~~~~~~~~~~~~
             "Lock failed: not recoverable 0x%x", mp);
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../common/sun_sas.c:280:4: note: here
        default:
        ^~~~~~~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk almost 2 years ago

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

git commit 48122e8f03678c2b5a9cea6e9c4d4d2629c5a13f

commit  48122e8f03678c2b5a9cea6e9c4d4d2629c5a13f
Author: Toomas Soome <tsoome@me.com>
Date:   2018-02-22T15:58:54.000Z

    9148 sun_sas: this statement may fall through
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Reviewed by: C Fraire <cfraire@me.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF