0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-31 14:12:52 +00:00

🎨 Suppress warning (#25529)

This commit is contained in:
Davide Rombolà 2023-03-18 07:35:54 +01:00 committed by GitHub
parent ce97e42aa0
commit ac1e2d0fbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,6 +53,8 @@ static void set_stealth_status(const bool enable, const int8_t eindex) {
constexpr int8_t index = -1; constexpr int8_t index = -1;
#endif #endif
UNUSED(index);
LOOP_LOGICAL_AXES(i) if (parser.seen(AXIS_CHAR(i))) { LOOP_LOGICAL_AXES(i) if (parser.seen(AXIS_CHAR(i))) {
switch (i) { switch (i) {
case X_AXIS: case X_AXIS: