diff --git a/Marlin/src/gcode/feature/pause/M701_M702.cpp b/Marlin/src/gcode/feature/pause/M701_M702.cpp index 19c6eed209..abd4f1371d 100644 --- a/Marlin/src/gcode/feature/pause/M701_M702.cpp +++ b/Marlin/src/gcode/feature/pause/M701_M702.cpp @@ -175,7 +175,6 @@ void GcodeSuite::M702() { const int8_t target_extruder = active_extruder; #else - const float unload_length_multiplier = 1.0; const int8_t target_extruder = get_target_extruder_from_command(); if (target_extruder < 0) return; #endif diff --git a/Marlin/src/sd/cardreader.cpp b/Marlin/src/sd/cardreader.cpp index 7728092303..3041bc726c 100644 --- a/Marlin/src/sd/cardreader.cpp +++ b/Marlin/src/sd/cardreader.cpp @@ -647,8 +647,6 @@ const char* CardReader::diveToFile(SdFile*& curDir, const char * const path, con SdFile *sub = &newDir1, *startDir; const char *dirname_start = path; - char echo_fn[105]; - if (path[0] == '/') { curDir = &root; workDirDepth = 0;