-// Copyright (C) 2007-2015 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
::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 ) {