mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-27 16:39:08 +00:00
Add ';' after 'default:' labels to avoid 'deprecated use of label at end
of compound statement' warnings.
This commit is contained in:
parent
e9fb8a0e9d
commit
b3359df33e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104588
@ -104,6 +104,7 @@ check_access(SVCXPRT *xprt, rpcproc_t proc, void *args, int rpcbvers)
|
||||
case RPCBPROC_GETADDRLIST:
|
||||
case RPCBPROC_GETSTAT:
|
||||
default:
|
||||
;
|
||||
}
|
||||
|
||||
#ifdef LIBWRAP
|
||||
@ -148,6 +149,7 @@ is_loopback(struct netbuf *nbuf)
|
||||
case AF_LOCAL:
|
||||
return 1;
|
||||
default:
|
||||
;
|
||||
}
|
||||
|
||||
return 0;
|
||||
@ -267,8 +269,10 @@ check_callit(SVCXPRT *xprt, struct r_rmtcall_args *args, int versnum)
|
||||
case YPPROC_NEXT:
|
||||
goto deny;
|
||||
default:
|
||||
;
|
||||
}
|
||||
default:
|
||||
;
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user