9138 libcurses: this statement may fall through

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

tsoome
illumos-gate
9138
7d73857...
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


andy_js
  1. Ship It!
  2. 
      
wiedi
  1. Ship It!
  2. 
      
tsoome
wiedi
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...