svn commit: r333849 - head/sys/sys

Matt Macy mmacy at FreeBSD.org
Sat May 19 04:47:35 UTC 2018


Author: mmacy
Date: Sat May 19 04:47:34 2018
New Revision: 333849
URL: https://svnweb.freebsd.org/changeset/base/333849

Log:
  epoch: avoid warning when INVARIANTS is not enabled

Modified:
  head/sys/sys/epoch.h

Modified: head/sys/sys/epoch.h
==============================================================================
--- head/sys/sys/epoch.h	Sat May 19 04:46:34 2018	(r333848)
+++ head/sys/sys/epoch.h	Sat May 19 04:47:34 2018	(r333849)
@@ -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++;


More information about the svn-src-head mailing list