Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2018 04:47:34 +0000 (UTC)
From:      Matt Macy <mmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r333849 - head/sys/sys
Message-ID:  <201805190447.w4J4lYKt042803@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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++;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805190447.w4J4lYKt042803>