9160 libtecla: this statement may fall through

Review Request #889 - Created Feb. 21, 2018 and submitted

Information
Toomas Soome
illumos-gate
9160
139d85f...
Reviewers
general
../common/getline.c: In function '_gl_parse_config_line':
../common/getline.c:6483:14: error: this statement may fall through [-Werror=implicit-fallthrough=]
       action = argv[2];
       ~~~~~~~^~~~~~~~~
../common/getline.c:6484:5: note: here
     case 2:              /* Note the intentional fallthrough */
     ^~~~

../common/history.c:2720:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
       glh_step_stream(pstr);  /* Skip the backslash */
       ^~~~~~~~~~~~~~~~~~~~~
../common/history.c:2725:5: note: here
     default:
     ^~~~~~~

../common/expand.c:885:11: error: this statement may fall through [-Werror=implicit-fallthrough=]
       pptr++;
       ~~~~^~
../common/expand.c:890:5: note: here
     default:
     ^~~~~~~

cc1: all warnings being treated as errors

  
C Fraire
Andy Fiddaman
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...