Browse Source

codepos not used in gcode_M28()

Got:
Marlin_main.cpp:2567: warning: unused variable 'codepos'

Needs revision.
Don't now how this should look like.
AnHardt 9 years ago
parent
commit
72a9fed4fb
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -2564,7 +2564,7 @@ inline void gcode_M17() {
2564 2564
    * M28: Start SD Write
2565 2565
    */
2566 2566
   inline void gcode_M28() {
2567
-    char* codepos = strchr_pointer + 4;
2567
+//    char* codepos = strchr_pointer + 4; // ??? not used ???
2568 2568
     char* starpos = strchr(strchr_pointer + 4, '*');
2569 2569
     if (starpos) {
2570 2570
       char* npos = strchr(cmdbuffer[bufindr], 'N');

Loading…
Cancel
Save