]> Creatis software - gdcm.git/commitdiff
* Test/TestCopyDicom.cxx : avoid compilation warnings.
authorregrain <regrain>
Thu, 18 Nov 2004 17:06:54 +0000 (17:06 +0000)
committerregrain <regrain>
Thu, 18 Nov 2004 17:06:54 +0000 (17:06 +0000)
   -- BeNours

Testing/TestCopyDicom.cxx

index 9706397c7a37bde09657f98ab7d7fe0b288ba8a1..a1804823678ea92f6b39e5f3146c249262038794 100644 (file)
@@ -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