Salome HOME
updated copyright message
[modules/gui.git] / src / Qtx / QtxEvalExpr.cxx
index d2310faa08689b8afb2a8b45e1fee527da4a8ce5..39f8e967f4baf859dce2fc7817c92a335f9e585f 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA, EDF, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -1912,7 +1912,7 @@ int QtxEvalSetMath::priority( const QString& op, bool isBin ) const
   \param v2 second argument (not valid for unary postfix operations)
   \return error code (QtxEvalExpr::Error)
 */
-QtxEvalExpr::Error QtxEvalSetMath::calculate( const QString& op, QVariant& v1, QVariant& v2 ) const
+QtxEvalExpr::Error QtxEvalSetMath::calculate( const QString& op, QVariant& /*v1*/, QVariant& v2 ) const
 {
   QtxEvalExpr::Error err = QtxEvalExpr::OK;
   double val = v2.toDouble();