Initialize e_per_mm to make the compiler not freak out

This commit is contained in:
Joseph Lenox 2018-07-30 08:52:34 -05:00
parent cd4bc328a1
commit 7180c2e8d5

View File

@ -236,7 +236,7 @@ Print::make_skirt()
//size_t extruder_idx = 0;
// new to the cpp implementation
float e_per_mm, extruded_length = 0;
float e_per_mm {0.0}, extruded_length = 0;
size_t extruders_warm = 0;
if (this->config.min_skirt_length.getFloat() > 0) {
//my $config = Config::GCode();