From 610786e334321c5c9a69139e1054372c76ed78d4 Mon Sep 17 00:00:00 2001 From: regrain Date: Thu, 18 Nov 2004 17:06:54 +0000 Subject: [PATCH] * Test/TestCopyDicom.cxx : avoid compilation warnings. -- BeNours --- Testing/TestCopyDicom.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Testing/TestCopyDicom.cxx b/Testing/TestCopyDicom.cxx index 9706397c..a1804823 100644 --- a/Testing/TestCopyDicom.cxx +++ b/Testing/TestCopyDicom.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestCopyDicom.cxx,v $ Language: C++ - Date: $Date: 2004/11/17 10:20:06 $ - Version: $Revision: 1.17 $ + Date: $Date: 2004/11/18 17:06:54 $ + Version: $Revision: 1.18 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -90,6 +90,8 @@ int TestCopyDicom(int , char* []) size_t dataSize = original->GetImageDataSize(); uint8_t* imageData = original->GetImageData(); + (void)dataSize; // To use the variable and not have warnings at compil. + (void)imageData; // To use the variable and not have warnings at compil. //First of all copy the header field by field -- 2.48.1