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++;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to