Fix for a Coverity warning
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 16 Feb 2011 08:45:15 +0000 (08:45 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 16 Feb 2011 08:45:15 +0000 (08:45 +0000)
ITS/AliITSv11GeometrySPD.cxx

index 8179bc3..1f37c6f 100644 (file)
@@ -592,6 +592,7 @@ void AliITSv11GeometrySPD::CarbonFiberSector(TGeoVolume *moth, Int_t sect,
     const Int_t ksecDipIndex[ksecNCoolingTubeDips] = {2, 5, 8, 11, 14, 17};
     Double_t secAngleStart[ksecNRadii];
     Double_t secAngleEnd[ksecNRadii];
+    for(Int_t i = 0; i < ksecNRadii; i++)secAngleEnd[i] = 0.;
     Double_t secAngleStart2[ksecNRadii];
     Double_t secAngleEnd2[ksecNRadii];
     Double_t secAngleTurbo[ksecNCoolingTubeDips] = {0., 0., 0., 0., 0., 0.0};