Browse Source

Unused variable cleanup (#13917)

pull/1/head
Ludy 6 years ago
committed by Scott Lahteine
parent
commit
f96eaad1ea
  1. 1
      Marlin/src/gcode/feature/pause/M701_M702.cpp
  2. 2
      Marlin/src/sd/cardreader.cpp

1
Marlin/src/gcode/feature/pause/M701_M702.cpp

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

2
Marlin/src/sd/cardreader.cpp

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