Salome HOME
#18963 Minimize compiler warnings
[modules/kernel.git] / src / LifeCycleCORBA / TestContainerManager.cxx
index 7924d4b4a48a827880865512ea956b6c9ae4e5b4..ac3d5eb0dfd935f258e15bb58750fbde5393029e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2020  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -138,7 +138,7 @@ int main (int argc, char * argv[])
   int cmax=0;
   int fmin=10;
   int fmax=0;
-  int nbpmax;
+  int nbpmax=1;
   for(std::map<std::string,int>::iterator iter=cycle.begin();iter!=cycle.end();iter++){
     if(strcmp((*iter).first.c_str(),"localhost")!=0){
       Engines::ResourceDefinition *p = _ResManager->GetResourceDefinition((*iter).first.c_str());