From a832fc23a0f4bf56a74829c0306bc1d8587107a2 Mon Sep 17 00:00:00 2001 From: jpr Date: Tue, 20 Sep 2005 09:07:56 +0000 Subject: [PATCH] To avoid warnings around 'catch' --- src/gdcmDocument.cxx | 8 ++++---- src/gdcmFile.cxx | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/gdcmDocument.cxx b/src/gdcmDocument.cxx index 23766c4b..fdb6ab73 100644 --- a/src/gdcmDocument.cxx +++ b/src/gdcmDocument.cxx @@ -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 e ) + 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 e ) + catch ( FormatError ) { // Call it quits delete newEntry; diff --git a/src/gdcmFile.cxx b/src/gdcmFile.cxx index 8a11ae80..1fe7118d 100644 --- a/src/gdcmFile.cxx +++ b/src/gdcmFile.cxx @@ -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; -- 2.45.1