X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSOCC%2FSOCC_ViewWindow.cxx;h=441a12cf9243891f65359c9dc27cf24ecfcb9e2e;hb=refs%2Ftags%2FV9_11_0;hp=87116a09cc74c1686bafa7dd2c80aef2ce396ba6;hpb=cac0b4571c951b557e1956d4777cf1e5199637c3;p=modules%2Fgui.git diff --git a/src/SOCC/SOCC_ViewWindow.cxx b/src/SOCC/SOCC_ViewWindow.cxx index 87116a09c..441a12cf9 100644 --- a/src/SOCC/SOCC_ViewWindow.cxx +++ b/src/SOCC/SOCC_ViewWindow.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2023 CEA, EDF, 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 ) {