]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Warning hunting in g++ 4.6
authorageay <ageay>
Fri, 10 Feb 2012 11:24:27 +0000 (11:24 +0000)
committerageay <ageay>
Fri, 10 Feb 2012 11:24:27 +0000 (11:24 +0000)
src/MEDLoader/MEDLoader.cxx

index 662b5d8bf4ea9657a23555fd624473da903632cd..72d588b865326adca5039e4b8e5065f2ccbcc935 100644 (file)
@@ -818,7 +818,6 @@ std::vector<std::string> MEDLoader::GetNodeFieldNamesOnMesh(const char *fileName
       MEDfieldInfo(fid,i+1,nomcha,maa_ass,&localmesh,&typcha,comp,unit,dt_unit,&nbPdt);
       std::string curFieldName=MEDLoaderBase::buildStringFromFortran(nomcha,MED_NAME_SIZE+1);
       std::string curMeshName=MEDLoaderBase::buildStringFromFortran(maa_ass,MED_NAME_SIZE+1);
-      bool found=false;
       if(nbPdt>0)
         {
           int profilesize,nbi;
@@ -827,7 +826,6 @@ std::vector<std::string> MEDLoader::GetNodeFieldNamesOnMesh(const char *fileName
                                                     pflname,&profilesize,locname,&nbi);
           if(curMeshName==meshName && nbOfVal>0)
             {
-              found=true;
               ret.push_back(curFieldName);
             }
         }