]> Creatis software - clitk.git/commitdiff
Remove warning.
authorVivien Delmon <vivien.delmon@creatis.insa-lyon.fr>
Mon, 8 Oct 2012 09:53:57 +0000 (11:53 +0200)
committerVivien Delmon <vivien.delmon@creatis.insa-lyon.fr>
Mon, 8 Oct 2012 09:53:57 +0000 (11:53 +0200)
Missing a return true.

common/clitkDicomRT_StructureSet.cxx

index a26804b1839a49f0a3d6e5c51693ccc09c98dead..bbbcfd61274aebff7bb969dfc51d508d4ddca3a7 100644 (file)
@@ -443,7 +443,10 @@ bool clitk::DicomRT_StructureSet::IsDicomRTStruct(const std::string & filename)
   //Verify if the file is a RT-Structure-Set dicom file
   if (!gdcm::Util::DicomStringEqual(mFile->GetEntryValue(0x0008,0x0016),"1.2.840.10008.5.1.4.1.1.481.3")) 
     return false;
-  if (!gdcm::Util::DicomStringEqual(mFile->GetEntryValue(0x0008,0x0060),"RTSTRUCT")) return false;
+  if (!gdcm::Util::DicomStringEqual(mFile->GetEntryValue(0x0008,0x0060),"RTSTRUCT"))
+    return false;
+
+  return true;
 
 #endif
 }