]> Creatis software - gdcm.git/commitdiff
Avoid some warnings
authorjpr <jpr>
Thu, 13 Apr 2006 08:05:52 +0000 (08:05 +0000)
committerjpr <jpr>
Thu, 13 Apr 2006 08:05:52 +0000 (08:05 +0000)
src/gdcmDicomDir.cxx
src/gdcmSeqEntry.cxx
src/gdcmSeqEntry.h

index 6812b76f0652d55359bf770c105bcbce311ce114..4949504a1bfcfab68a2bc5fae0e9cf8642a4ef98 100644 (file)
@@ -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;
index 9ce89bbc3e3e8196e922b6c2fed20e669f48b9c1..def82df69a2da92c627515c74cdb4ec3c3fe1503 100644 (file)
@@ -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;
index a54e3b34ab1608e5d3d8a3357e8839e7c6653da1..386eab3219dff816e4c3c4e4f800b3a6475f2c68 100644 (file)
@@ -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 = "" );