Project

General

Profile

Bug #9359

uts: audio this statement may fall through

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2018-03-26
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

issue found by gcc 7 build:

    ../../common/io/audio/impl/audio_sun.c:1253:3: error: this statement may fall th
    rough [-Werror=implicit-fallthrough=]
       freemsg(mp);
       ^~~~~~~~~~~
    ../../common/io/audio/impl/audio_sun.c:1255: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 c6fd1145b87ccd4df6215e2921524782a538d285

commit  c6fd1145b87ccd4df6215e2921524782a538d285
Author: Toomas Soome <tsoome@me.com>
Date:   2018-04-06T19:42:34.000Z

    9359 uts: audio this statement may fall through
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF