10302 sed: this statement may fall through

Review Request #1395 - Created Jan. 27, 2019 and submitted

Information
Toomas Soome
illumos-gate
10302
0c7289e...
Reviewers
general
main.c: In function 'cu_fgets':
main.c:237:3: error: this statement may fall through [-Werror=implicit-fallthrough=]
   switch (script->type) {
   ^~~~~~
main.c:257:2: note: here
  case ST_FILE:
  ^~~~
cc1: all warnings being treated as errors

  
Andrew Stormont
Toomas Soome
Robert Mustacchi
Gergő Mihály Doma
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...