9068 libgen: this statement may fall through

Review Request #842 - Created Feb. 7, 2018 and submitted

Information
Toomas Soome
illumos-gate
9068
667fa41...
Reviewers
general
../common/gmatch.c:44:4: error: this statement may fall through [-Werror=implicit-fallthrough=]
  p += n
    ^
../common/gmatch.c:131:3: note: in expansion of macro 'Popwchar'
   Popwchar(p, c);
   ^~~~~~~~
../common/gmatch.c:133:2: note: here
  default:
  ^~~~~~~

../common/reg_compile.c:399:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
     if (c >= '1' && c <= '9') {
        ^
../common/reg_compile.c:410:3: note: here
   defchar:
   ^~~~~~~
cc1: all warnings being treated as errors

  
Andy Fiddaman
Toomas Soome
Andy Fiddaman
Yuri Pankov
Yuri Pankov
Toomas Soome
Toomas Soome
Toomas Soome
Toomas Soome
Yuri Pankov
Andy Fiddaman
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...