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 20:53:23 $
+ Version: $Revision: 1.223 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
*/
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 )
gdcm::DocEntry *d;
uint32_t offset;
uint32_t lgth;
- uint32_t valLgth;
+ uint32_t valLgth = 0;
std::string *spaces;
for (ListElements::iterator it = AnonymizeList.begin();
it != AnonymizeList.end();