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.
This commit is contained in:
AnHardt 2015-03-18 11:41:14 +01:00
parent f5f99c4883
commit 72a9fed4fb

View file

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