PERFORCE change 131421 for review

John Birrell jb at FreeBSD.org
Fri Dec 21 23:28:17 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=131421

Change 131421 by jb at 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);


More information about the p4-projects mailing list