diff options
author | Matt Macy <mmacy@FreeBSD.org> | 2018-05-19 04:47:34 +0000 |
---|---|---|
committer | Matt Macy <mmacy@FreeBSD.org> | 2018-05-19 04:47:34 +0000 |
commit | b25651a46a97fb6e50ee48d19701b4f778fc1004 (patch) | |
tree | 2ac698a820c56fdd1dcae61b15832f5893175c67 | |
parent | e5ae3af78b25954590132d6282d9a66f353dbf51 (diff) | |
download | src-b25651a46a97fb6e50ee48d19701b4f778fc1004.tar.gz src-b25651a46a97fb6e50ee48d19701b4f778fc1004.zip |
epoch: avoid warning when INVARIANTS is not enabled
Notes
Notes:
svn path=/head/; revision=333849
-rw-r--r-- | sys/sys/epoch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/epoch.h b/sys/sys/epoch.h index e272a80bed8f..e1bf269c2865 100644 --- a/sys/sys/epoch.h +++ b/sys/sys/epoch.h @@ -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++; |