]> Creatis software - gdcm.git/blobdiff - Testing/TestAllReadCompareDicom.cxx
FIX: Could not compile with warnings flags on
[gdcm.git] / Testing / TestAllReadCompareDicom.cxx
index 46d51a6cace7f797e9a2709d0306c6758c16115e..e2474b959ff96f08cc634e17e4f86b5bd08352a9 100644 (file)
@@ -97,6 +97,7 @@ int TestAllReadCompareDicom(int argc, char* argv[])
       ////// Step 3a:
 
          int testedDataSize    = tested->GetImageDataSize();
+         (void)testedDataSize;
          void* testedImageData = tested->GetImageData(); // Kludge
          tested->WriteDcmExplVR( referenceFileName );
          std::cerr << "      Creating reference baseline file :" << std::endl
@@ -146,6 +147,7 @@ int TestAllReadCompareDicom(int argc, char* argv[])
       if (int res = memcmp(testedImageData, referenceImageData,
                            testedDataSize) != 0 )
       {
+         (void)res;
          std::cout << "        Pixel differ (as expanded in memory)."
                    << std::endl;
          delete tested;