Browse Source

Unused variable cleanup (#13917)

Ludy 6 years ago
parent
commit
f96eaad1ea
2 changed files with 0 additions and 3 deletions
  1. 0
    1
      Marlin/src/gcode/feature/pause/M701_M702.cpp
  2. 0
    2
      Marlin/src/sd/cardreader.cpp

+ 0
- 1
Marlin/src/gcode/feature/pause/M701_M702.cpp View File

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

+ 0
- 2
Marlin/src/sd/cardreader.cpp View File

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

Loading…
Cancel
Save