From 57ed063ba11fd58222aa349d8af70b07f3c4935b Mon Sep 17 00:00:00 2001 From: Marcio Teixeira Date: Wed, 17 Jul 2019 02:16:10 -0600 Subject: [PATCH] Fix unused variable warnings (#14643) --- Marlin/src/lcd/extensible_ui/ui_api.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Marlin/src/lcd/extensible_ui/ui_api.cpp b/Marlin/src/lcd/extensible_ui/ui_api.cpp index 947e3d4065..f186615b8f 100644 --- a/Marlin/src/lcd/extensible_ui/ui_api.cpp +++ b/Marlin/src/lcd/extensible_ui/ui_api.cpp @@ -668,6 +668,8 @@ namespace ExtUI { && (linked_nozzles || active_extruder == 0) #endif ) zprobe_zoffset += mm; + #else + UNUSED(mm); #endif #if EXTRUDERS > 1 @@ -687,6 +689,7 @@ namespace ExtUI { } #else UNUSED(linked_nozzles); + UNUSED(mm); #endif }