From dbc32725670425d3e90c21830daaea16d2c5ce28 Mon Sep 17 00:00:00 2001 From: Vivien Delmon Date: Mon, 8 Oct 2012 11:53:57 +0200 Subject: [PATCH] Remove warning. Missing a return true. --- common/clitkDicomRT_StructureSet.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 } -- 2.47.1