From: jpr Date: Thu, 8 Sep 2005 14:40:15 +0000 (+0000) Subject: Remove useless affectation, to avoid bcc5.5 warnings X-Git-Tag: Version1.2.bp~94 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=2f84c0af92d1ea53c7ea56950c21cd4ed589b16a;p=gdcm.git Remove useless affectation, to avoid bcc5.5 warnings --- diff --git a/Testing/VTKTestWrite.cxx b/Testing/VTKTestWrite.cxx index c95912c2..34bfd060 100644 --- a/Testing/VTKTestWrite.cxx +++ b/Testing/VTKTestWrite.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: VTKTestWrite.cxx,v $ Language: C++ - Date: $Date: 2005/08/30 08:27:04 $ - Version: $Revision: 1.10 $ + Date: $Date: 2005/09/08 14:40:15 $ + Version: $Revision: 1.11 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -40,7 +40,7 @@ int VTKWriteTest(vtkTesting *t,vtkImageViewer *viewer, std::string const &filename, std::string const &referenceFileName) { - int retVal = 0; //by default this is an error + int retVal; t->CleanArguments(); t->AddArgument("-D"); diff --git a/Testing/VTKTestWriteSeq.cxx b/Testing/VTKTestWriteSeq.cxx index 6db2132d..efd7a73c 100644 --- a/Testing/VTKTestWriteSeq.cxx +++ b/Testing/VTKTestWriteSeq.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: VTKTestWriteSeq.cxx,v $ Language: C++ - Date: $Date: 2005/05/20 08:34:15 $ - Version: $Revision: 1.4 $ + Date: $Date: 2005/09/08 14:40:15 $ + Version: $Revision: 1.5 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -39,7 +39,7 @@ int VTKWriteSeqTest(vtkTesting *t, vtkImageViewer *viewer, std::string const &filename, std::string const &referenceFileName) { - int retVal = 0; //by default this is an error + int retVal; // Set the reader vtkGdcmReader *reader = vtkGdcmReader::New();