]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
fix coverity
authorabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 Feb 2011 10:50:49 +0000 (10:50 +0000)
committerabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 Feb 2011 10:50:49 +0000 (10:50 +0000)
PWG1/TRD/AliTRDonlineTrackletQA.cxx

index cd3335ec0262e6dd9eb81128559b59778bc1c74d..e23a23df267f8f5dc9d79c85aeb51d1bceeaa04c 100644 (file)
@@ -401,8 +401,8 @@ void AliTRDonlineTrackletQA::Exec(const Option_t * /* option */)
        }
        
        // now search for tracklets belonging to this track reference
-       Int_t nTrackletsPerRef = 0;
-       Int_t defl = 0.;
+       Int_t nTrackletsPerRef(0);
+       Int_t defl(0);
        for (Int_t iTracklet = 0; iTracklet < fTrackletsSim->GetEntries(); iTracklet++) {
          trkl = (AliTRDtrackletMCM*) (*fTrackletsSim)[iTracklet];
          // they must have the same label