diff --git a/src/Mod/Part/Gui/SectionCutting.cpp b/src/Mod/Part/Gui/SectionCutting.cpp index c8312ed1f3..ec128dee3f 100644 --- a/src/Mod/Part/Gui/SectionCutting.cpp +++ b/src/Mod/Part/Gui/SectionCutting.cpp @@ -603,7 +603,7 @@ void SectionCut::startCutting(bool isInitial) // store color and transparency of first object App::Color cutColor; - int cutTransparency; + int cutTransparency {0}; bool autoColor = true; bool autoTransparency = true; auto vpFirstObject = dynamic_cast(