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
 
175
 
176
     const int8_t target_extruder = active_extruder;
176
     const int8_t target_extruder = active_extruder;
177
   #else
177
   #else
178
-    const float unload_length_multiplier = 1.0;
179
     const int8_t target_extruder = get_target_extruder_from_command();
178
     const int8_t target_extruder = get_target_extruder_from_command();
180
     if (target_extruder < 0) return;
179
     if (target_extruder < 0) return;
181
   #endif
180
   #endif

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

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

Loading…
Cancel
Save