Salome HOME
updated copyright message
[modules/gui.git] / src / SOCC / SOCC_ViewWindow.cxx
index 87116a09cc74c1686bafa7dd2c80aef2ce396ba6..3ecc1e139b4bd18aa242892fd91a0dee0ae9fac5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -53,7 +53,7 @@ SOCC_ViewWindow
 ::action( const int theAction  )
 {
   const int inc = 10;
-  int cx, cy;
+  int cx = 0, cy = 0;
   if ( theAction == SUIT_Accel::ZoomIn || theAction == SUIT_Accel::ZoomOut ||
        theAction == SUIT_Accel::RotateLeft || theAction == SUIT_Accel::RotateRight ||
        theAction == SUIT_Accel::RotateUp || theAction == SUIT_Accel::RotateDown ) {