9035 zfs: this statement may fall through
Review Request #836 — Created Feb. 5, 2018 and submitted
Information | |
---|---|
tsoome | |
illumos-gate | |
9035 | |
95b3a18... | |
Reviewers | |
general | |
../../../uts/common/fs/zfs/lua/ltable.c:485:23: error: this statement may fall t hrough [-Werror=implicit-fallthrough=] case LUA_TNUMBER: { ^ ../../../uts/common/fs/zfs/lua/ltable.c:493:5: note: here default: { ^~~~~~~ ../../../uts/common/fs/zfs/lua/lstrlib.c:516:16: error: this statement may fall through [-Werror=implicit-fallthrough=] s++; /* 1 match already done */ ~^~ ../../../uts/common/fs/zfs/lua/lstrlib.c:518:13: note: here case '*': /* 0 or more repetitions */ ^~~~ ../../../uts/common/fs/zfs/lua/lgc.c:679:22: error: this statement may fall through [-Werror=implicit-fallthrough=] G(L)->strt.nuse--; ../../../uts/common/fs/zfs/lua/lgc.c:681:5: note: here case LUA_TLNGSTR: { ^~~~ ../../../uts/common/fs/zfs/lua/llex.c:475:17: error: this statement may fall through [-Werror=implicit-fallthrough=] else if (!lisdigit(ls->current)) return '.'; ^ ../../../uts/common/fs/zfs/lua/llex.c:478:7: note: here case '0': case '1': case '2': case '3': case '4': ^~~~ cc1: all warnings being treated as errors