From 0ceec1f1669c6b678d8df7095a8170e5bfd312d3 Mon Sep 17 00:00:00 2001
From: Scott Lahteine <github@thinkyhead.com>
Date: Thu, 26 Oct 2017 22:19:23 -0500
Subject: [PATCH] Fix leveling_active_at_z warning

---
 Marlin/src/module/planner.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Marlin/src/module/planner.h b/Marlin/src/module/planner.h
index 36f4e4e9a0..1e157bbdf2 100644
--- a/Marlin/src/module/planner.h
+++ b/Marlin/src/module/planner.h
@@ -308,7 +308,7 @@ class Planner {
         return 1.0;
       }
 
-      FORCE_INLINE static bool leveling_active_at_z(const float &lz) { return true; }
+      FORCE_INLINE static bool leveling_active_at_z(const float &lz) { UNUSED(lz); return true; }
 
     #endif
 
-- 
GitLab