From 49aaa9439aeca0bb0bc2153afd79b3f3107d720b Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 19 Oct 2021 12:42:47 +0300 Subject: [PATCH] Prevent usage of uninitialized variable --- src/XGUI/XGUI_FacesPanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XGUI/XGUI_FacesPanel.cpp b/src/XGUI/XGUI_FacesPanel.cpp index e3a649bc6..d312092cf 100644 --- a/src/XGUI/XGUI_FacesPanel.cpp +++ b/src/XGUI/XGUI_FacesPanel.cpp @@ -92,7 +92,7 @@ void updateHiddenShapes(Handle(ModuleBase_ResultPrs) thePrs, const TopoDS_ListOf //******************************************************************** XGUI_FacesPanel::XGUI_FacesPanel(QWidget* theParent, XGUI_Workshop* theWorkshop) - : QDockWidget(theParent), myWorkshop(theWorkshop), myIsActive(false) + : QDockWidget(theParent), myWorkshop(theWorkshop), myIsActive(false), myLastItemIndex(0) { setWindowTitle(tr("Hide Faces")); setObjectName("Hide Faces"); -- 2.39.2