]> Creatis software - gdcm.git/commitdiff
FIX: Some unused var, just (void)'ing them
authormalaterre <malaterre>
Wed, 22 Sep 2004 01:01:36 +0000 (01:01 +0000)
committermalaterre <malaterre>
Wed, 22 Sep 2004 01:01:36 +0000 (01:01 +0000)
src/gdcmDocument.cxx
src/gdcmElementSet.cxx

index 7fedf71d47840b3e621c55a2e971f17e8e515b42..bbbcd77fa94ec6d4f84346ed41579f2af679e09d 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocument.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/09/21 11:17:42 $
-  Version:   $Revision: 1.84 $
+  Date:      $Date: 2004/09/22 01:01:36 $
+  Version:   $Revision: 1.85 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -1397,6 +1397,7 @@ long gdcmDocument::ParseDES(gdcmDocEntrySet *set,
             // hierarchy and the Key is simply of the form ( group, elem )...
             if (gdcmDocument* dummy = dynamic_cast< gdcmDocument* > ( set ) )
             {
+               (void)dummy;
                newValEntry->SetKey( newValEntry->GetKey() );
             }
             // ...but when "set" is a gdcmSQItem, we are inserting this new
@@ -1437,6 +1438,7 @@ long gdcmDocument::ParseDES(gdcmDocEntrySet *set,
             // form ( group, elem )...
             if (gdcmDocument* dummy = dynamic_cast< gdcmDocument* > ( set ) )
             {
+               (void)dummy;
                newBinEntry->SetKey( newBinEntry->GetKey() );
             }
             // but when "this" is a SQItem, we are inserting this new
@@ -1501,6 +1503,7 @@ long gdcmDocument::ParseDES(gdcmDocEntrySet *set,
          // level of one:
          if (gdcmDocument* dummy = dynamic_cast< gdcmDocument* > ( set ) )
          {
+            (void)dummy;
             newSeqEntry->SetDepthLevel( 1 );
             newSeqEntry->SetKey( newSeqEntry->GetKey() );
          }
index 88547c878e7a6a8e60c5e19b24173791d1df211f..28f1d01f9c085f34c2bb4944b9e9f39d538ffb0b 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmElementSet.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/09/17 13:11:16 $
-  Version:   $Revision: 1.20 $
+  Date:      $Date: 2004/09/22 01:01:36 $
+  Version:   $Revision: 1.21 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -32,6 +32,7 @@
 gdcmElementSet::gdcmElementSet(int depthLevel) 
               : gdcmDocEntrySet()
 {
+  (void)depthLevel;
 }
 
 /**
@@ -71,6 +72,7 @@ void gdcmElementSet::Print(std::ostream & os)
       entry->Print(os);   
       if ( gdcmSeqEntry* seqEntry = dynamic_cast<gdcmSeqEntry*>(entry) )
       {
+         (void)seqEntry;
          // Avoid the newline for a sequence:
          continue;
       }