From 7f593d43a637f2099fba3cfd1bff662fdd9d2da3 Mon Sep 17 00:00:00 2001 From: jpr Date: Fri, 7 Apr 2006 14:14:40 +0000 Subject: [PATCH] Avoid warning --- Testing/TestDataEntry.cxx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Testing/TestDataEntry.cxx b/Testing/TestDataEntry.cxx index bca594cb..190f50a4 100644 --- a/Testing/TestDataEntry.cxx +++ b/Testing/TestDataEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestDataEntry.cxx,v $ Language: C++ - Date: $Date: 2006/04/07 10:58:51 $ - Version: $Revision: 1.11 $ + Date: $Date: 2006/04/07 14:14:40 $ + Version: $Revision: 1.12 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -37,15 +37,13 @@ const double GDCM_EPS = 1e-6; */ int TestDataEntry(int , char *[]) { - unsigned int i; - gdcm::DictEntry *dict; - gdcm::DataEntry *entry; - - //------------------------------------------------------------------ - /* Most of the tests are out of date! (we don't use any longer DictEntry to build a DocEntry! + unsigned int i; + gdcm::DictEntry *dict; + gdcm::DataEntry *entry; + dict = gdcm::DictEntry::New(0x0003,0x0004); // SetVR *before* making the DataEntry! dict->SetVR("US"); -- 2.45.1