mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Silence warnings about unused variables when RACCT is defined but RCTL
is not. Reported by: Dries Michiels <driesm.michiels@gmail.com> Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
f38b68ae8a
commit
dbadb01591
1 changed files with 2 additions and 0 deletions
|
|
@ -3988,8 +3988,10 @@ prison_racct_attach(struct prison *pr)
|
|||
static void
|
||||
prison_racct_modify(struct prison *pr)
|
||||
{
|
||||
#ifdef RCTL
|
||||
struct proc *p;
|
||||
struct ucred *cred;
|
||||
#endif
|
||||
struct prison_racct *oldprr;
|
||||
|
||||
ASSERT_RACCT_ENABLED();
|
||||
|
|
|
|||
Loading…
Reference in a new issue