0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
[occt.git] / src / Draw / Draw_Window.cxx
index fc2aa8f..7ef1b0b 100644 (file)
@@ -1453,7 +1453,9 @@ DrawWindow::DrawWindow() :
         next(firstWindow),
         previous(NULL),
         myMemHbm(NULL),
-        myUseBuffer(Standard_False)
+        myUseBuffer(Standard_False),
+        myCurrPen(0),
+        myCurrMode(0)
 {
   if (firstWindow) firstWindow->previous = this;
   firstWindow = this;