]> Creatis software - clitk.git/blobdiff - segmentation/clitkExtractLymphStation_Supports.txx
Merge branch 'master' of git.creatis.insa-lyon.fr:clitk
[clitk.git] / segmentation / clitkExtractLymphStation_Supports.txx
index 952c08e57a0d21edba5d1caeadf6c1fecefe760a..f480d842b2990cc3c16156b2500b5add84281ed7 100644 (file)
@@ -21,7 +21,7 @@ ExtractStationSupports()
 
   // Read all support limits in a file and apply them
   ReadSupportLimits(GetSupportLimitsFilename());  
-  for(int i=0; i<m_ListOfSupportLimits.size(); i++) {
+  for(unsigned int i=0; i<m_ListOfSupportLimits.size(); i++) {
     SupportLimitsType s = m_ListOfSupportLimits[i];
     Support_SI_Limit(s.station_limit, s.station, s.structure_limit, 
                      s.structure, s.offset*m_Working_Support->GetSpacing()[2]);
@@ -110,7 +110,7 @@ Support_SI_Limit(const std::string station_limit, const std::string station,
   m_Working_Support = m_ListOfSupports[station];
   
   // Get structure or structureZ
-  double z;
+  double z=0.;
   int found=0;
   std::string file;