diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index e445dec3a..066845a32 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -7056,6 +7056,8 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) { void kill(const char* lcd_msg) { #if ENABLED(ULTRA_LCD) lcd_setalertstatuspgm(lcd_msg); + #else + UNUSED(lcd_msg); #endif cli(); // Stop interrupts diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp index 131be9776..40d1a4bfc 100644 --- a/Marlin/temperature.cpp +++ b/Marlin/temperature.cpp @@ -796,6 +796,7 @@ static float analog2tempBed(int raw) { #else + UNUSED(raw); return 0; #endif