9134 libnsl: this statement may fall through

Review Request #870 - Created Feb. 19, 2018 and submitted

Information
Toomas Soome
illumos-gate
9134
d1fc247...
Reviewers
general
../nss/inet_matchaddr.c: In function 'inet_matchaddr':
../nss/inet_matchaddr.c:70:17: error: this statement may fall through [-Werror=i
mplicit-fallthrough=]
  case AF_INET6: {
                 ^
../nss/inet_matchaddr.c:125:2: note: here
  case AF_INET: {
  ^~~~
../rpc/svc_vc.c: In function 'do_accept':
../rpc/svc_vc.c:926:7: error: this statement may fall through [-Werror=implicit-
fallthrough=]
    if (t_getstate(srcfd) == T_IDLE) {
       ^
../rpc/svc_vc.c:934:3: note: here
   default:
   ^~~~~~~
cc1: all warnings being treated as errors

  
C Fraire
Andrew Stormont
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...