Project

General

Profile

Actions

Bug #9115

closed

audiorecord: this statement may fall through

Added by Toomas Soome almost 5 years ago. Updated almost 5 years 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:
Gerrit CR:
External Bug:

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

Actions #1

Updated by Electric Monk almost 5 years ago

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

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>

Actions

Also available in: Atom PDF