9068 libgen: this statement may fall through

Review Request #842 — Created Feb. 7, 2018 and submitted — Latest diff uploaded

tsoome
illumos-gate
9068
667fa41...
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


Loading...