From 8f25ac3fd4933db5a569a7bc718a0ed757b2b36d Mon Sep 17 00:00:00 2001 From: narno2202 Date: Sun, 10 Mar 2024 15:59:31 +0100 Subject: [PATCH] Suppress Warnings --- Marlin/src/lcd/menu/menu_motion.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/src/lcd/menu/menu_motion.cpp b/Marlin/src/lcd/menu/menu_motion.cpp index 608eac1af234..93898e9fed8b 100644 --- a/Marlin/src/lcd/menu/menu_motion.cpp +++ b/Marlin/src/lcd/menu/menu_motion.cpp @@ -408,8 +408,8 @@ void menu_move() { void menu_ft_motion() { ft_config_t &c = ftMotion.cfg; - FSTR_P ftmode; - FSTR_P ftshaper[1 + ENABLED(HAS_Y_AXIS)]; + FSTR_P ftmode {}; + FSTR_P ftshaper[1 + ENABLED(HAS_Y_AXIS)] { TERN_(HAS_Y_AXIS,)}; switch (c.mode) { case ftMotionMode_DISABLED: ftmode = GET_TEXT_F(MSG_LCD_OFF); break;