From: Vivien Delmon Date: Mon, 8 Oct 2012 09:53:57 +0000 (+0200) Subject: Remove warning. X-Git-Tag: v1.4.0~239^2~20 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=dbc32725670425d3e90c21830daaea16d2c5ce28;p=clitk.git Remove warning. Missing a return true. --- diff --git a/common/clitkDicomRT_StructureSet.cxx b/common/clitkDicomRT_StructureSet.cxx index a26804b..bbbcfd6 100644 --- a/common/clitkDicomRT_StructureSet.cxx +++ b/common/clitkDicomRT_StructureSet.cxx @@ -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 }