Add 'break' to empty 'default' 'switch' statements.
Requested by: mike
This commit is contained in:
parent
4180788ff0
commit
4ee5e5868f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104593
@ -104,7 +104,7 @@ check_access(SVCXPRT *xprt, rpcproc_t proc, void *args, unsigned int rpcbvers)
|
||||
case RPCBPROC_GETADDRLIST:
|
||||
case RPCBPROC_GETSTAT:
|
||||
default:
|
||||
;
|
||||
break;
|
||||
}
|
||||
|
||||
#ifdef LIBWRAP
|
||||
@ -149,7 +149,7 @@ is_loopback(struct netbuf *nbuf)
|
||||
case AF_LOCAL:
|
||||
return 1;
|
||||
default:
|
||||
;
|
||||
break;
|
||||
}
|
||||
|
||||
return 0;
|
||||
@ -269,10 +269,10 @@ check_callit(SVCXPRT *xprt, struct r_rmtcall_args *args, int versnum __unused)
|
||||
case YPPROC_NEXT:
|
||||
goto deny;
|
||||
default:
|
||||
;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
;
|
||||
break;
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user