From: jfa Date: Tue, 19 Oct 2021 09:42:47 +0000 (+0300) Subject: Prevent usage of uninitialized variable X-Git-Tag: V9_8_0b1~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=49aaa9439aeca0bb0bc2153afd79b3f3107d720b;p=modules%2Fshaper.git Prevent usage of uninitialized variable --- 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");