Project

General

Profile

Bug #9115

audiorecord: this statement may fall through

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2018-02-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Build error from gcc 7:

audiorecord.c:572:7: error: this statement may fall through [-Werror=implicit-fa
llthrough=]
    if (Force) {
       ^
audiorecord.c:581:3: note: here
   default:  /* encoding mismatch */
   ^~~~~~~
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 3e1e9f9b5f60fd97b8350805fdcbe6ea6dd752ef

commit  3e1e9f9b5f60fd97b8350805fdcbe6ea6dd752ef
Author: Toomas Soome <tsoome@me.com>
Date:   2018-02-17T16:35:38.000Z

    9115 audiorecord: this statement may fall through
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF