Silence nodiscard attribute at one spot

... where it is really irrelevant
This commit is contained in:
D.R.racer 2022-12-27 15:37:51 +01:00 committed by DRracer
parent ce7ab1d73c
commit 58ff0efb30
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ void MMU2::ToolChangeCommon(uint8_t slot){
// Please see CheckUserInput() for details how we "leave" manage_response.
// 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.
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