From 4c00fd738f50fb4b7fcbb8220fef008a77f76cc4 Mon Sep 17 00:00:00 2001 From: ageay Date: Fri, 10 Feb 2012 11:24:27 +0000 Subject: [PATCH] Warning hunting in g++ 4.6 --- src/MEDLoader/MEDLoader.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/MEDLoader/MEDLoader.cxx b/src/MEDLoader/MEDLoader.cxx index 662b5d8bf..72d588b86 100644 --- a/src/MEDLoader/MEDLoader.cxx +++ b/src/MEDLoader/MEDLoader.cxx @@ -818,7 +818,6 @@ std::vector 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 MEDLoader::GetNodeFieldNamesOnMesh(const char *fileName pflname,&profilesize,locname,&nbi); if(curMeshName==meshName && nbOfVal>0) { - found=true; ret.push_back(curFieldName); } } -- 2.39.2