kernel: Silence an unused variable warning.
authorSascha Wildner <saw@online.de>
Sun, 23 Jan 2011 18:43:54 +0000 (19:43 +0100)
committerSascha Wildner <saw@online.de>
Sun, 23 Jan 2011 18:43:54 +0000 (19:43 +0100)
sys/kern/kern_ktr.c

index ec2b981..6d9021a 100644 (file)
@@ -228,7 +228,9 @@ void
 ktr_resync_callback(void *dummy __unused)
 {
        struct lwkt_cpusync cs;
+#if KTR_TESTLOG
        int count;
+#endif
 
        KKASSERT(mycpu->gd_cpuid == 0);