Project

General

Profile

Bug #9138

libcurses: this statement may fall through

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

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

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Issue from gcc 7 build:

    ../screen/scr_reset.c: In function 'scr_reset':
    ../screen/scr_reset.c:288:4: error: this statement may fall through [-Werror=implicit-fallthrough=]
        for (y = curscr->_maxy; y > 0; --y)
        ^~~
    ../screen/scr_reset.c:291:3: note: here
       case 0:
       ^~~~
    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 59ee40951f56cfa1c0e6c5c6aeea10605267116a

commit  59ee40951f56cfa1c0e6c5c6aeea10605267116a
Author: Toomas Soome <tsoome@me.com>
Date:   2018-02-22T15:58:22.000Z

    9138 libcurses: this statement may fall through
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF