Ver código fonte

🩹 Init var to suppress invalid warning (#22396)

vyacheslav-shubin 2 anos atrás
pai
commit
e4ac55089e
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2
    1
      Marlin/src/gcode/bedlevel/mbl/G29.cpp

+ 2
- 1
Marlin/src/gcode/bedlevel/mbl/G29.cpp Ver arquivo

@@ -70,7 +70,8 @@ void GcodeSuite::G29() {
70 70
     return;
71 71
   }
72 72
 
73
-  int8_t ix, iy = 0;
73
+  int8_t ix, iy;
74
+  ix = iy = 0;
74 75
 
75 76
   switch (state) {
76 77
     case MeshReport:

Carregando…
Cancelar
Salvar