]> Creatis software - gdcm.git/commitdiff
To avoid warnings around 'catch'
authorjpr <jpr>
Tue, 20 Sep 2005 09:07:56 +0000 (09:07 +0000)
committerjpr <jpr>
Tue, 20 Sep 2005 09:07:56 +0000 (09:07 +0000)
src/gdcmDocument.cxx
src/gdcmFile.cxx

index 23766c4ba3576f64d4aeedaa8dd33c229840f8f6..fdb6ab7398d914730e32e974d50b7045fd350a34 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocument.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/09/16 17:19:26 $
-  Version:   $Revision: 1.279 $
+  Date:      $Date: 2005/09/20 09:07:56 $
+  Version:   $Revision: 1.280 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -2244,7 +2244,7 @@ DocEntry *Document::ReadNextDocEntry()
       group = ReadInt16();
       elem  = ReadInt16();
    }
-   catch ( FormatError )
+   catch ( FormatError )
    {
       // We reached the EOF (or an error occured) therefore 
       // header parsing has to be considered as finished.
@@ -2305,7 +2305,7 @@ DocEntry *Document::ReadNextDocEntry()
    {
       FindDocEntryLength(newEntry);
    }
-   catch ( FormatError )
+   catch ( FormatError )
    {
       // Call it quits
       delete newEntry;
index 8a11ae809b4ea8faa92ef44c35938dce8db43e51..1fe7118d0212689afde55489598082f654143e6f 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmFile.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/09/07 08:55:23 $
-  Version:   $Revision: 1.268 $
+  Date:      $Date: 2005/09/20 09:07:56 $
+  Version:   $Revision: 1.269 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -1685,7 +1685,7 @@ bool File::ReadTag(uint16_t testGroup, uint16_t testElem)
       itemTagGroup = ReadInt16();
       itemTagElem  = ReadInt16();
    }
-   catch ( FormatError e )
+   catch ( FormatError /*e*/ )
    {
       //std::cerr << e << std::endl;
       return false;