Skip to content

Commit

Permalink
🩹 Init var to suppress invalid warning (MarlinFirmware#22396)
Browse files Browse the repository at this point in the history
  • Loading branch information
vyacheslav-shubin authored and ptoal committed Dec 16, 2021
1 parent 520c431 commit b6aba6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Marlin/src/gcode/bedlevel/mbl/G29.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ void GcodeSuite::G29() {
return;
}

int8_t ix, iy = 0;
int8_t ix, iy;
ix = iy = 0;

switch (state) {
case MeshReport:
Expand Down

0 comments on commit b6aba6b

Please sign in to comment.