Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2007 07:28:16 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 131421 for review
Message-ID:  <200712220728.lBM7SG9n065950@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=131421

Change 131421 by jb@jb_freebsd1 on 2007/12/22 07:28:03

	Fix unused variables when DEBUG=0

Affected files ...

.. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/os/cyclic.c#7 edit

Differences ...

==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/os/cyclic.c#7 (text) ====

@@ -1818,8 +1818,10 @@
 {
 	cyc_backend_t *be = cpu->cyp_backend;
 	cyc_xcallarg_t arg;
+#if DEBUG
 	cyclic_t *cyclic = &cpu->cyp_cyclics[ndx];
 	cyc_level_t level = cyclic->cy_level;
+#endif
 
 	ASSERT(MUTEX_HELD(&cpu_lock));
 	ASSERT(cpu->cyp_rpend == 0);



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