Project

General

Profile

Bug #9177

lp/lib/filters: 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-22
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Issue found by gcc 7 build:

    loadfilters.c:214:12: error: this statement may fall through [-Werror=implicit-fallthrough=]
          eMode = NORMAL_PARSING;
          ~~~~~~^~~~~~~~~~~~~~~~
    loadfilters.c:217:5: note: here
         case NORMAL_PARSING: /* default legacy editing */
         ^~~~
    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 ab42163696e52469cde1ec6102c5e82ce96474bd

commit  ab42163696e52469cde1ec6102c5e82ce96474bd
Author: Toomas Soome <tsoome@me.com>
Date:   2018-02-27T01:46:13.000Z

    9177 lp/lib/filters: this statement may fall through
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
    Approved by: Gordon Ross <gwr@nexenta.com>

Also available in: Atom PDF