From c944e4fc6009cfc6e11f97b63f6ea817b8470071 Mon Sep 17 00:00:00 2001 From: vyacheslav-shubin Date: Tue, 20 Jul 2021 23:12:08 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Init=20var=20to=20suppress=20inv?= =?UTF-8?q?alid=20warning=20(#22396)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/src/gcode/bedlevel/mbl/G29.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Marlin/src/gcode/bedlevel/mbl/G29.cpp b/Marlin/src/gcode/bedlevel/mbl/G29.cpp index 21336f0b9a..03f2c58e81 100644 --- a/Marlin/src/gcode/bedlevel/mbl/G29.cpp +++ b/Marlin/src/gcode/bedlevel/mbl/G29.cpp @@ -70,7 +70,8 @@ void GcodeSuite::G29() { return; } - int8_t ix, iy = 0; + int8_t ix, iy; + ix = iy = 0; switch (state) { case MeshReport: