Using an explicit initialization (Savannah #81796)
authorbelikov <belikov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 May 2011 15:51:03 +0000 (15:51 +0000)
committerbelikov <belikov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 May 2011 15:51:03 +0000 (15:51 +0000)
STEER/AliGlobalQADataMaker.cxx

index 68eaf62..a01a263 100644 (file)
@@ -355,7 +355,7 @@ void AliGlobalQADataMaker::MakeESDs(AliESDEvent * event) {
     }
 
     for (Int_t j=0; j<6; ++j) {
-      Int_t idet, sts;
+      Int_t idet=0, sts=0;
       Float_t xloc,zloc;
       if (!track->GetITSModuleIndexInfo(j,idet,sts,xloc,zloc)) continue;
       if (j>=2) idet+=240;