9138 libcurses: this statement may fall through

Review Request #874 - Created Feb. 19, 2018 and submitted

Information
Toomas Soome
illumos-gate
9138
7d73857...
Reviewers
general
../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

  
Andrew Stormont
Sebastian Wiedenroth
Toomas Soome
Sebastian Wiedenroth
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...