From 44d34727b676570bf3b4a7cab6076210f159d192 Mon Sep 17 00:00:00 2001 From: jpr Date: Tue, 23 Aug 2005 14:41:59 +0000 Subject: [PATCH] To avoid spuroius warning messages when debug is ON --- src/gdcmDocument.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gdcmDocument.cxx b/src/gdcmDocument.cxx index 7001f202..4511aab5 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/08/23 12:57:49 $ - Version: $Revision: 1.265 $ + Date: $Date: 2005/08/23 14:41:59 $ + Version: $Revision: 1.266 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -1049,7 +1049,7 @@ void Document::ParseDES(DocEntrySet *set, long offset, if ( (delimitor && offset!=132) || (!delim_mode && ((long)(Fp->tellg())-offset) >= l_max) ) { - if (offset!=132) + if (delimitor && offset!=132) { gdcmWarningMacro( "in ParseDES : Item found out of a Sequence " << newValEntry->GetKey() -- 2.48.1