Add ';' after 'default:' labels to avoid 'deprecated use of label at end
of compound statement' warnings.
This commit is contained in:
parent
6d864638d8
commit
a759393c66
@ -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…
x
Reference in New Issue
Block a user