]> Creatis software - gdcm.git/commitdiff
ENH: Fix warnings
authormalaterre <malaterre>
Mon, 19 Jul 2004 05:59:12 +0000 (05:59 +0000)
committermalaterre <malaterre>
Mon, 19 Jul 2004 05:59:12 +0000 (05:59 +0000)
src/gdcmDocument.cxx

index 62b2339c575cceb4cfb94942fde16baff1a3b634..e91b158c544c4d31ba3ed1b7bd589a0bccaa4c9c 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocument.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/07/19 05:57:20 $
-  Version:   $Revision: 1.53 $
+  Date:      $Date: 2004/07/19 05:59:12 $
+  Version:   $Revision: 1.54 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -328,6 +328,8 @@ bool gdcmDocument::IsGivenTransferSyntax(std::string const & syntaxToCheck)
       if ( transfer == syntaxToCheck )
       //if( transfer.find( syntaxToCheck ) )   //should be faster
       {
+         int k = 
+         abort()
          return true;
       }
    }
@@ -1451,6 +1453,7 @@ long gdcmDocument::ParseSQ(gdcmSeqEntry *set,
       }
    
       int lgr = ParseDES(itemSQ, newDocEntry->GetOffset(), l, dlm_mod);
+      (void)lgr;  //FIXME not used
       
       set->AddEntry(itemSQ, SQItemNumber); 
       SQItemNumber++;
@@ -2313,6 +2316,7 @@ bool gdcmDocument::CheckSwap()
    // The easiest case is the one of a DICOM header, since it possesses a
    // file preamble where it suffice to look for the string "DICM".
    int lgrLue = fread(deb, 1, HEADER_LENGTH_TO_READ, Fp);
+   (void)lgrLue;  //FIXME not used
    
    char *entCur = deb + 128;
    if( memcmp(entCur, "DICM", (size_t)4) == 0 )