From d2e69ed72a2101f2d76167b92ad51bc9b6755368 Mon Sep 17 00:00:00 2001 From: Juan Prieto Date: Mon, 9 Feb 2009 16:36:37 +0000 Subject: [PATCH] *** empty log message *** --- lib/kernel_Environment/ReaderEnvironment_Txx.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); -- 2.45.0