Browse Source

Suppress a compile warning

Scott Lahteine 5 years ago
parent
commit
c4cbc54484
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/lcd/menu/menu.h

+ 1
- 1
Marlin/src/lcd/menu/menu.h View File

324
 #define SCREEN_OR_MENU_LOOP(IS_MENU)                \
324
 #define SCREEN_OR_MENU_LOOP(IS_MENU)                \
325
   scroll_screen(IS_MENU ? 1 : LCD_HEIGHT, IS_MENU); \
325
   scroll_screen(IS_MENU ? 1 : LCD_HEIGHT, IS_MENU); \
326
   int8_t _menuLineNr = encoderTopLine, _thisItemNr; \
326
   int8_t _menuLineNr = encoderTopLine, _thisItemNr; \
327
-  bool _skipStatic = IS_MENU;                       \
327
+  bool _skipStatic = IS_MENU; UNUSED(_thisItemNr);  \
328
   for (int8_t _lcdLineNr = 0; _lcdLineNr < LCD_HEIGHT; _lcdLineNr++, _menuLineNr++) { \
328
   for (int8_t _lcdLineNr = 0; _lcdLineNr < LCD_HEIGHT; _lcdLineNr++, _menuLineNr++) { \
329
     _thisItemNr = 0
329
     _thisItemNr = 0
330
 
330
 

Loading…
Cancel
Save