9134 libnsl: this statement may fall through

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

tsoome
illumos-gate
9134
d1fc247...
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


seeemef@mac.com
  1. LGTM

  2. 
      
andy_js
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...