epoch: avoid warning when INVARIANTS is not enabled
This commit is contained in:
parent
e5ae3af78b
commit
b25651a46a
@ -63,7 +63,7 @@ static __inline void
|
||||
epoch_enter_preempt(epoch_t epoch)
|
||||
{
|
||||
struct thread *td;
|
||||
int nesting;
|
||||
int nesting __unused;
|
||||
|
||||
td = curthread;
|
||||
nesting = td->td_epochnest++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user