Unused variable cleanup (#13917)

This commit is contained in:
Ludy 2019-05-06 05:01:04 +02:00 committed by Scott Lahteine
parent 421d526ba7
commit f96eaad1ea
2 changed files with 0 additions and 3 deletions

View file

@ -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

View file

@ -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;