From 9b4f60821e8dff56a3439e820681972eb78f8295 Mon Sep 17 00:00:00 2001 From: jpr Date: Thu, 13 Apr 2006 08:05:52 +0000 Subject: [PATCH] Avoid some warnings --- src/gdcmDicomDir.cxx | 6 +++--- src/gdcmSeqEntry.cxx | 6 +++--- src/gdcmSeqEntry.h | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/gdcmDicomDir.cxx b/src/gdcmDicomDir.cxx index 6812b76f..4949504a 100644 --- a/src/gdcmDicomDir.cxx +++ b/src/gdcmDicomDir.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDir.cxx,v $ Language: C++ - Date: $Date: 2006/04/11 16:03:26 $ - Version: $Revision: 1.187 $ + Date: $Date: 2006/04/13 08:05:52 $ + Version: $Revision: 1.188 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -889,7 +889,7 @@ void DicomDir::SetElement(std::string const &path, DicomDirType type, ListDicomDirElem elemList; ListDicomDirElem::const_iterator it; uint16_t tmpGr, tmpEl; - DictEntry *dictEntry; + //DictEntry *dictEntry; DataEntry *entry; std::string val; SQItem *si; diff --git a/src/gdcmSeqEntry.cxx b/src/gdcmSeqEntry.cxx index 9ce89bbc..def82df6 100644 --- a/src/gdcmSeqEntry.cxx +++ b/src/gdcmSeqEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSeqEntry.cxx,v $ Language: C++ - Date: $Date: 2006/04/11 16:03:26 $ - Version: $Revision: 1.66 $ + Date: $Date: 2006/04/13 08:05:52 $ + Version: $Revision: 1.67 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -54,7 +54,7 @@ SeqEntry::SeqEntry( uint16_t group,uint16_t elem ) */ SeqEntry::SeqEntry( DocEntry *e, int depth ) //: DocEntry( e->GetDictEntry() ) - : DocEntry( e->GetGroup(), e->GetElement(), e->GetVR() ) + : DocEntry( e->GetGroup(), e->GetElement(), "SQ" /*e->GetVR()*/ ) { Length = 0; ReadLength = 0xffffffff; diff --git a/src/gdcmSeqEntry.h b/src/gdcmSeqEntry.h index a54e3b34..386eab32 100644 --- a/src/gdcmSeqEntry.h +++ b/src/gdcmSeqEntry.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSeqEntry.h,v $ Language: C++ - Date: $Date: 2006/04/11 16:03:26 $ - Version: $Revision: 1.41 $ + Date: $Date: 2006/04/13 08:05:52 $ + Version: $Revision: 1.42 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -46,8 +46,8 @@ public: //static SeqEntry *New(DictEntry *e) {return new SeqEntry(e);} /// \brief Contructs a SeqEntry with a RefCounter from DocEntry static SeqEntry *New(DocEntry *d, int depth) {return new SeqEntry(d,depth);} -/// \brief Contructs a SeqEntry with a RefCounter from elementary values - static SeqEntry *New(uint16_t group,uint16_t elem, VRKey const &vr = GDCM_VRUNKNOWN) +/// \brief Constructs a SeqEntry with a RefCounter from elementary values + static SeqEntry *New(uint16_t group,uint16_t elem/*, VRKey const &vr = GDCM_VRUNKNOWN*/) {return new SeqEntry(group,elem);} void Print(std::ostream &os = std::cout, std::string const &indent = "" ); -- 2.48.1