Unused variable cleanup (#13917)

2.0.x
Ludy 6 years ago committed by Scott Lahteine
parent 421d526ba7
commit f96eaad1ea

@ -175,7 +175,6 @@ void GcodeSuite::M702() {
const int8_t target_extruder = active_extruder; const int8_t target_extruder = active_extruder;
#else #else
const float unload_length_multiplier = 1.0;
const int8_t target_extruder = get_target_extruder_from_command(); const int8_t target_extruder = get_target_extruder_from_command();
if (target_extruder < 0) return; if (target_extruder < 0) return;
#endif #endif

@ -647,8 +647,6 @@ const char* CardReader::diveToFile(SdFile*& curDir, const char * const path, con
SdFile *sub = &newDir1, *startDir; SdFile *sub = &newDir1, *startDir;
const char *dirname_start = path; const char *dirname_start = path;
char echo_fn[105];
if (path[0] == '/') { if (path[0] == '/') {
curDir = &root; curDir = &root;
workDirDepth = 0; workDirDepth = 0;

Loading…
Cancel
Save