mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-30 15:41:59 +08:00
Initialize e_per_mm to make the compiler not freak out
This commit is contained in:
parent
cd4bc328a1
commit
7180c2e8d5
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user