From 2290b269dc862709c7055784d2e130517a02231c Mon Sep 17 00:00:00 2001
From: Ludy <Ludy87@users.noreply.github.com>
Date: Tue, 18 Jun 2019 07:15:41 +0200
Subject: [PATCH] Unused variable (#14301)

---
 Marlin/src/module/planner.cpp     | 3 ++-
 Marlin/src/module/temperature.cpp | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Marlin/src/module/planner.cpp b/Marlin/src/module/planner.cpp
index 56591e9afe..25cba8cb03 100644
--- a/Marlin/src/module/planner.cpp
+++ b/Marlin/src/module/planner.cpp
@@ -1303,7 +1303,8 @@ void Planner::check_axes_activity() {
         analogWrite(FAN2_PIN, CALC_FAN_SPEED(2));
       #endif
     #endif
-
+  #else
+    UNUSED(tail_fan_speed);
   #endif // FAN_COUNT > 0
 
   #if ENABLED(AUTOTEMP)
diff --git a/Marlin/src/module/temperature.cpp b/Marlin/src/module/temperature.cpp
index 662d2bc2ab..a496748581 100644
--- a/Marlin/src/module/temperature.cpp
+++ b/Marlin/src/module/temperature.cpp
@@ -778,6 +778,8 @@ void Temperature::_temp_error(const int8_t heater, PGM_P const serial_msg, PGM_P
     }
     else
       disable_all_heaters(); // paranoia
+  #else
+    UNUSED(killed);
   #endif
 }
 
-- 
GitLab