From: Juan Prieto Date: Mon, 9 Feb 2009 16:36:37 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: EED.02Oct2009~1 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=d2e69ed72a2101f2d76167b92ad51bc9b6755368;p=creaEnvironment.git *** empty log message *** --- diff --git a/lib/kernel_Environment/ReaderEnvironment_Txx.h b/lib/kernel_Environment/ReaderEnvironment_Txx.h index 8a512bc..e6e1795 100644 --- a/lib/kernel_Environment/ReaderEnvironment_Txx.h +++ b/lib/kernel_Environment/ReaderEnvironment_Txx.h @@ -48,6 +48,7 @@ { this->nameConceptFile=nameConceptFile; this->nameObjectFile=nameObjectFile; + this->things=things; this->nameOtherConceptsFile = nameOtherConceptsFile; this->environment= new SomeEnvironment(); @@ -416,7 +417,7 @@ template bool ReaderEnvironment::addThings() { - int numObjects,j; + int numObjects=0,j=0; bool addedInstants=true; typename std::map::iterator iteratorData; typename std::map::iterator iteratorThings; @@ -483,7 +484,7 @@ template bool ReaderEnvironment::addConcepts() { - int numConcepts,i; + int numConcepts=0,i=0; std::map::iterator iteratorData; //getting the number of concepts defined iteratorData=dataInFile.find(NUMCONCEPTS);