Skip to content

Commit

Permalink
🩹 Init var to suppress invalid warning (#22396)
Browse files Browse the repository at this point in the history
  • Loading branch information
vyacheslav-shubin authored Jul 20, 2021
1 parent a90968b commit e4ac550
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 e4ac550

Please sign in to comment.