瀏覽代碼

🩹 Init var to suppress invalid warning (#22396)

vyacheslav-shubin 2 年之前
父節點
當前提交
e4ac55089e
沒有連結到貢獻者的電子郵件帳戶。
共有 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…
取消
儲存