Salome HOME
updated copyright message
[modules/gui.git] / src / Qtx / QtxWorkstackAction.cxx
index 668bd4f58734a852ca103194f0f7c54f0f8403ae..a2edb6bb48cd4d6a3d21fad8b1e1dbc907f2befc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  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
@@ -297,7 +297,7 @@ void QtxWorkstackAction::setStatusTip( const int id, const QString& txt )
   \brief Process action activated by the user.
   \param type action ID
 */
-void QtxWorkstackAction::perform( const int type )
+void QtxWorkstackAction::perform( const int /*type*/ )
 {
   /*
   switch ( type )
@@ -853,7 +853,7 @@ void QtxSplitDlg::onComboBoxChanged( int theItem )
   }
   for( int i = 0; i < 4; i++ ) {
     if( myComboBox[i] != aSender ) {
-      ViewMode aNewMode;
+      ViewMode aNewMode = XYZ;
       if( myMapComboBoxMode[myComboBox[i]] == (ViewMode)(theItem) ) {
         for( int j = 0; j < 4; j++ )
           if( !aModeEnabledMap[(ViewMode)j] )