]> Creatis software - clitk.git/blobdiff - segmentation/clitkExtractLymphStation_Supports.txx
Removed warnings
[clitk.git] / segmentation / clitkExtractLymphStation_Supports.txx
index fa640a291cfd5c484f28251b3f877799efb536e1..a022392653df59bb5a3511295067980c43db274c 100644 (file)
@@ -33,7 +33,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]);
@@ -111,7 +111,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;