Browse Source

Fix unused variable warnings (#14643)

Marcio Teixeira 6 years ago
parent
commit
57ed063ba1
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      Marlin/src/lcd/extensible_ui/ui_api.cpp

+ 3
- 0
Marlin/src/lcd/extensible_ui/ui_api.cpp View File

@@ -668,6 +668,8 @@ namespace ExtUI {
668 668
             && (linked_nozzles || active_extruder == 0)
669 669
           #endif
670 670
         ) zprobe_zoffset += mm;
671
+      #else
672
+        UNUSED(mm);
671 673
       #endif
672 674
 
673 675
       #if EXTRUDERS > 1
@@ -687,6 +689,7 @@ namespace ExtUI {
687 689
         }
688 690
       #else
689 691
         UNUSED(linked_nozzles);
692
+        UNUSED(mm);
690 693
       #endif
691 694
     }
692 695
 

Loading…
Cancel
Save