Salome HOME
updated copyright message
[modules/kernel.git] / src / DSC / DSC_User / Datastream / Calcium / Calcium.cxx
index 17278634b4e12d36518c126ea03df0044016736c..b697402aa47036d5885ae995caf95b55c540cf22 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
@@ -31,7 +31,7 @@ PySupervCompo::PySupervCompo( CORBA::ORB_ptr orb,
                               Engines::Container_ptr contain,
                               const char *instanceName,
                               const char *interfaceName,
-                              bool notif) :
+                              bool /*notif*/) :
   Superv_Component_i(orb, poa,contain, instanceName, interfaceName,false,false)
 {
 }
@@ -97,7 +97,7 @@ extern "C"
 
     if(std::string(mode) == "IN")
       {
-        provides_port * port ;
+        provides_port * port = 0;
         //provides port
         try
           {
@@ -125,7 +125,7 @@ extern "C"
       }
     else if(std::string(mode) == "OUT")
       {
-        uses_port * uport ;
+        uses_port * uport = 0;
         try
           {
             uport = compo->create_uses_data_port(type);