epoch: avoid warning when INVARIANTS is not enabled
This commit is contained in:
parent
e5ae3af78b
commit
b25651a46a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333849
@ -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…
Reference in New Issue
Block a user