Silence nodiscard attribute at one spot
... where it is really irrelevant
This commit is contained in:
parent
ce7ab1d73c
commit
58ff0efb30
|
|
@ -317,7 +317,7 @@ void MMU2::ToolChangeCommon(uint8_t slot){
|
||||||
// Please see CheckUserInput() for details how we "leave" manage_response.
|
// Please see CheckUserInput() for details how we "leave" manage_response.
|
||||||
// If manage_response returns false at this spot (MMU operation interrupted aka MMU reset)
|
// If manage_response returns false at this spot (MMU operation interrupted aka MMU reset)
|
||||||
// we can safely continue because the MMU is not doing an operation now.
|
// we can safely continue because the MMU is not doing an operation now.
|
||||||
manage_response(true, true);
|
static_cast<void>(manage_response(true, true)); // yes, I'd like to silence [[nodiscard]] warning at this spot by casting to void
|
||||||
}
|
}
|
||||||
|
|
||||||
extruder = slot; //filament change is finished
|
extruder = slot; //filament change is finished
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue