瀏覽代碼

🩹 Init var to suppress invalid warning (#22396)

vyacheslav-shubin 2 年之前
父節點
當前提交
e4ac55089e
No account linked to committer's email address
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      Marlin/src/gcode/bedlevel/mbl/G29.cpp

+ 2
- 1
Marlin/src/gcode/bedlevel/mbl/G29.cpp 查看文件

@@ -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:

Loading…
取消
儲存