From aa788af4bd85edc030783c46dfc2084aec8b9d29 Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Sat, 25 Feb 2023 20:00:28 -0600 Subject: [PATCH] Part: SectionCutting cutTransparency initialization Addresses Coverity CID 356563: Uninitialized scalar. --- src/Mod/Part/Gui/SectionCutting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(