From 96a7eb01d292d604c97ea64112323353a965382e Mon Sep 17 00:00:00 2001 From: malaterre Date: Wed, 9 Feb 2005 21:37:45 +0000 Subject: [PATCH] STYLE: Minor tweaks --- src/gdcmDebug.h | 8 +++----- src/gdcmDocument.cxx | 7 +++---- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/gdcmDebug.h b/src/gdcmDebug.h index 60a4bd48..1b6d80ce 100644 --- a/src/gdcmDebug.h +++ b/src/gdcmDebug.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDebug.h,v $ Language: C++ - Date: $Date: 2005/02/05 01:37:08 $ - Version: $Revision: 1.30 $ + Date: $Date: 2005/02/09 21:37:45 $ + Version: $Revision: 1.31 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -123,9 +123,7 @@ public: * @param msg message part */ #ifdef NDEBUG -#define gdcmWarningMacro(msg) \ -{ \ -} +#define gdcmWarningMacro(msg) #else #define gdcmWarningMacro(msg) \ { \ diff --git a/src/gdcmDocument.cxx b/src/gdcmDocument.cxx index 9c12f0ce..496742f7 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/02/07 09:51:03 $ - Version: $Revision: 1.225 $ + Date: $Date: 2005/02/09 21:37:45 $ + Version: $Revision: 1.226 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -74,8 +74,7 @@ Document::Document( std::string const &filename ) Group0002Parsed = false; gdcmWarningMacro( "Starting parsing of file: " << Filename.c_str()); - // Fp->seekg( 0, std::ios::beg); - + Fp->seekg(0, std::ios::end); long lgt = Fp->tellg(); -- 2.45.1