acpi_thermal(4): Silence a warning.
authorSascha Wildner <saw@online.de>
Thu, 12 Nov 2009 21:29:58 +0000 (22:29 +0100)
committerSascha Wildner <saw@online.de>
Thu, 12 Nov 2009 21:29:58 +0000 (22:29 +0100)
sys/dev/acpica5/acpi_thermal.c

index 2664193..372fef7 100644 (file)
@@ -1125,7 +1125,10 @@ static void
 acpi_tz_cooling_thread(void *arg)
 {
     struct acpi_tz_softc *sc;
-    int error, perf, curr_temp, prev_temp;
+    int perf, curr_temp, prev_temp;
+#ifdef __FreeBSD__
+    int error;
+#endif
 
     ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);