X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSInitGeometry.cxx;h=effa21f99715bfb3887151beda6a8eaf4d588f46;hb=ebe89c39795f1a22a4b6ea02d9bff656f12f1cfd;hp=3e87df9cd0a6cb46d68bd84c8b6f603819987f8e;hpb=5c62ca8f0d5b85d99e55b87467c9e2efbff0d01f;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSInitGeometry.cxx b/ITS/AliITSInitGeometry.cxx index 3e87df9cd0a..effa21f9971 100644 --- a/ITS/AliITSInitGeometry.cxx +++ b/ITS/AliITSInitGeometry.cxx @@ -120,7 +120,6 @@ AliITSgeom* AliITSInitGeometry::CreateAliITSgeom(){ AliITSVersion_t version = kvDefault; - Int_t minor = 0; TDatime datetime; TGeoVolume *itsV = gGeoManager->GetVolume("ITSV"); if(!itsV){ @@ -868,7 +867,7 @@ Bool_t AliITSInitGeometry::ReadVersionString(const Char_t *str,AliITSVersion_t & Int_t n=strlen(str); if(n<15) return retcode; // not enough space for numbers Int_t m,i; - m = sscanf(str,"Major Version= %d",&i); + m = sscanf(str,"Major Version= %2d",&i); maj = kvDefault; if(m>0){ retcode = kTRUE;