]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Suppression of warnings.
authorageay <ageay>
Mon, 20 Sep 2010 09:36:46 +0000 (09:36 +0000)
committerageay <ageay>
Mon, 20 Sep 2010 09:36:46 +0000 (09:36 +0000)
src/ParaMEDMEM/ExplicitCoincidentDEC.cxx
src/ParaMEDMEMTest/ParaMEDMEMTestMPI2_1.cxx
src/ParaMEDMEMTest/ParaMEDMEMTestMPI2_2.cxx
src/ParaMEDMEMTest/ParaMEDMEMTest_Gauthier1.cxx
src/ParaMEDMEMTest/ParaMEDMEMTest_ICocoTrio.cxx

index 7794ef15025a1eb6fb2c601756a16be55dd16df2..0d805af4f7f29439f658e14ca44a1d6c62e56706 100644 (file)
@@ -288,7 +288,7 @@ namespace ParaMEDMEM
           }
         int* recvcounts=new int[world_size];
         int* recvdispls=new int[world_size];
-        int *dummyrecv;
+        int *dummyrecv=0;
         for (int i=0; i <world_size; i++)
           {
             recvcounts[i]=0;
@@ -328,7 +328,7 @@ namespace ParaMEDMEM
               recvdispls[i]=recvdispls[i-1]+recvcounts[i-1];
           }
 
-        int *dummysend;
+        int *dummysend=0;
         for (int i=0; i <world_size; i++)
           {
             sendcounts[i]=0;
index da5498a6ea3ca2ec9dd2e7c156d5316b9e554d9c..599d3fb57ab52a85a4892dd0506e35e076afecf9 100644 (file)
@@ -52,7 +52,6 @@ void MPI2ParaMEDMEMTest::testBasicMPI2_1()
   ParaMEDMEM::ParaMESH *paramesh=0;
   ParaMEDMEM::MEDCouplingUMesh *mesh;
   ParaMEDMEM::ParaFIELD *parafield=0;
-  ParaMEDMEM::MEDCouplingFieldDouble *field;
   ParaMEDMEM::CommInterface *interface;
   ParaMEDMEM::MPIProcessorGroup *source, *target;
 
index 0ca9d766028866d0fe79f3915f39913cb1c8e7fe..9ed8819b0f108e107461b041d973fa81aebd13d4 100644 (file)
@@ -47,13 +47,11 @@ void MPI2ParaMEDMEMTest::testBasicMPI2_1()
 {
   int lsize, lrank, gsize, grank;
   MPI_Comm gcom;
-  MPI_Status status; 
   std::string service = "SERVICE";
   std::ostringstream meshfilename, meshname;
   ParaMEDMEM::ParaMESH *paramesh=0;
   ParaMEDMEM::MEDCouplingUMesh* mesh;
   ParaMEDMEM::ParaFIELD *parafield=0;
-  ParaMEDMEM::MEDCouplingFieldDouble* field;
   ParaMEDMEM::CommInterface* interface;
   ParaMEDMEM::MPIProcessorGroup* source, *target;
   
index 11c5828438631bb81333efa7bbd1d1cf1fc2a3c7..17cadfe05c3d7d9b7dd6fa47719d7903dccf2368 100644 (file)
@@ -252,7 +252,7 @@ void ParaMEDMEMTest::testGauthier1()
   
         MPI_Barrier(MPI_COMM_WORLD);
 
-        clock_t clock0= clock ();
+        //clock_t clock0= clock ();
         int compti=0;
 
         bool init=true; // first time step ??
@@ -261,7 +261,7 @@ void ParaMEDMEMTest::testGauthier1()
         while (!stop) {
   
           compti++;
-          clock_t clocki= clock ();
+          //clock_t clocki= clock ();
           //cout << compti << " CLOCK " << (clocki-clock0)*1.e-6 << endl; 
           for (int non_unif=0;non_unif<2;non_unif++)
             {
@@ -278,7 +278,7 @@ void ParaMEDMEMTest::testGauthier1()
                     if(rank!=3)
                       champ_emetteur._field[0]=40;
                 }
-              bool ok=false; // Is the time interval successfully solved ?
+              //bool ok=false; // Is the time interval successfully solved ?
     
               // Loop on the time interval tries
               if(1) {
index 38649136266863be35976786d32cdd76d5bd2bec..b3a573c3e699e56548d6524d40d1146358566d0c 100644 (file)
@@ -236,7 +236,7 @@ void ParaMEDMEMTest::testICocoTrio1()
         if (cas=="emetteur") 
           if (non_unif)
             champ_emetteur._field[0]=40;
-        bool ok=false; // Is the time interval successfully solved ?
+        //bool ok=false; // Is the time interval successfully solved ?
     
         // Loop on the time interval tries
         if(1)