X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmFile.cxx;h=d3520ac40cf635f4b1fb682916f0d473eb874f47;hb=a9f954f2b63d67c79b206acec6493c3395030147;hp=d4a62bb48543c7c2c4543cdc611f8d1c052a0044;hpb=b970ab5221eea3588849472bd8979f32a7477bb0;p=gdcm.git diff --git a/src/gdcmFile.cxx b/src/gdcmFile.cxx index d4a62bb4..d3520ac4 100644 --- a/src/gdcmFile.cxx +++ b/src/gdcmFile.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmFile.cxx,v $ Language: C++ - Date: $Date: 2005/02/10 10:55:26 $ - Version: $Revision: 1.221 $ + Date: $Date: 2005/02/10 14:23:18 $ + Version: $Revision: 1.222 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -367,7 +367,8 @@ int File::GetZSize() */ float File::GetXSpacing() { - float xspacing, yspacing; + float xspacing = 1.0; + float yspacing = 1.0; const std::string &strSpacing = GetEntryValue(0x0028,0x0030); if( strSpacing == GDCM_UNFOUND )