A warning for a not-declared variable eliminated
authorbarbera <barbera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Jul 2001 17:46:50 +0000 (17:46 +0000)
committerbarbera <barbera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Jul 2001 17:46:50 +0000 (17:46 +0000)
ITS/TPCtracks.C

index 88ababb47b52cf29728b2f05ac233c1c365fb850..b551ba7916fbfc7e97d12143a1c5d62fd771d734 100644 (file)
@@ -45,7 +45,7 @@ Int_t TPCtracks() {
    TTree *tracktree=(TTree*)tf->Get("TPCf");
    if (!tracktree) {cerr<<"Can't get a tree with TPC tracks !\n"; return 4;}   
    TBranch *tbranch=tracktree->GetBranch("tracks");
-   nentr=(Int_t)tracktree->GetEntries();
+   Int_t nentr=(Int_t)tracktree->GetEntries();
    
    AliTPCtrack *iotrack=0;
    for (i=0; i<nentr; i++) {