]> Creatis software - gdcm.git/commitdiff
COMP: fix warning
authormalaterre <malaterre>
Tue, 20 May 2008 09:21:22 +0000 (09:21 +0000)
committermalaterre <malaterre>
Tue, 20 May 2008 09:21:22 +0000 (09:21 +0000)
Example/PrintFile.cxx

index dfc6f6e3609ed5b3143ab9d46d458d822837c83a..0f3e82eaf67f48f82d7bec3a07e3b2a798410955 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: PrintFile.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/02/13 13:58:40 $
-  Version:   $Revision: 1.90 $
+  Date:      $Date: 2008/05/20 09:21:22 $
+  Version:   $Revision: 1.91 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -681,8 +681,8 @@ if (!noex)
          {
             if (load)  // just to see warning messages at load time !
             {
-               uint8_t *pixels = fh->GetImageData();
-               uint32_t lgth   = fh->GetImageDataSize(); 
+               uint8_t *pixels = fh->GetImageData(); (void)pixels;
+               uint32_t lgth   = fh->GetImageDataSize(); (void)lgth;
             }         
 
             std::cout <<std::endl<<it->c_str()<<" is Readable"<<std::endl;