From 61114752e61a7a55342ca1e66cec1f511cfeed32 Mon Sep 17 00:00:00 2001 From: thysson2701 Date: Mon, 22 Jun 2026 11:56:02 +0200 Subject: [PATCH] fix(build): ExtrusionLayer member defaults gegen -Wmaybe-uninitialized (Upstream-Bug) --- src/libslic3r/GCode/ConflictChecker.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libslic3r/GCode/ConflictChecker.hpp b/src/libslic3r/GCode/ConflictChecker.hpp index a10b9694314..ea7054e469e 100644 --- a/src/libslic3r/GCode/ConflictChecker.hpp +++ b/src/libslic3r/GCode/ConflictChecker.hpp @@ -26,9 +26,9 @@ using LineWithIDs = std::vector; struct ExtrusionLayer { ExtrusionPaths paths; - const Layer * layer; - float bottom_z; - float height; + const Layer * layer = nullptr; + float bottom_z = 0.f; + float height = 0.f; }; enum class ExtrusionLayersType { INFILL, PERIMETERS, SUPPORT, WIPE_TOWER };