From: malaterre Date: Wed, 12 Jan 2005 17:57:58 +0000 (+0000) Subject: STYLE: Unused variable X-Git-Tag: Version1.0.bp~367 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=09e3f61ed351a7c5df14006d30db2ba9b24a3928;p=gdcm.git STYLE: Unused variable --- diff --git a/src/gdcmDicomDir.cxx b/src/gdcmDicomDir.cxx index 1ef0feab..66dd5549 100644 --- a/src/gdcmDicomDir.cxx +++ b/src/gdcmDicomDir.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDir.cxx,v $ Language: C++ - Date: $Date: 2005/01/08 15:03:59 $ - Version: $Revision: 1.97 $ + Date: $Date: 2005/01/12 17:57:58 $ + Version: $Revision: 1.98 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -731,7 +731,6 @@ void DicomDir::CreateDicomDir() return; } - DicomDirType type; // = DicomDir::GDCM_DICOMDIR_META; MetaElems = NewMeta(); ListSQItem listItems = s->GetSQItems(); @@ -757,25 +756,21 @@ void DicomDir::CreateDicomDir() { si = new DicomDirPatient(); AddDicomDirPatientToEnd( static_cast(si) ); - type = DicomDir::GDCM_DICOMDIR_PATIENT; } else if( v == "STUDY " ) { si = new DicomDirStudy(); AddDicomDirStudyToEnd( static_cast(si) ); - type = DicomDir::GDCM_DICOMDIR_STUDY; } else if( v == "SERIES" ) { si = new DicomDirSerie(); AddDicomDirSerieToEnd( static_cast(si) ); - type = DicomDir::GDCM_DICOMDIR_SERIE; } else if( v == "IMAGE " ) { si = new DicomDirImage(); AddDicomDirImageToEnd( static_cast(si) ); - type = DicomDir::GDCM_DICOMDIR_IMAGE; } else {