warnings corrected
authormorsch <andreas.morsch@cern.ch>
Wed, 29 Oct 2014 15:18:09 +0000 (16:18 +0100)
committermorsch <andreas.morsch@cern.ch>
Wed, 29 Oct 2014 15:23:23 +0000 (16:23 +0100)
EVGEN/AliGenEMCocktail.cxx

index 7e32ec3..faf3409 100644 (file)
@@ -457,7 +457,6 @@ void AliGenEMCocktail::Generate()
        // Generate event 
        TIter next(fEntries);
        AliGenCocktailEntry *entry = 0;
-       AliGenCocktailEntry *preventry = 0;
        AliGenerator* gen = 0;
 
        if (fHeader) delete fHeader;
@@ -490,7 +489,6 @@ void AliGenEMCocktail::Generate()
                gen->SetEventPlane(evPlane);
                gen->Generate();
                entry->SetLast(partArray->GetEntriesFast());
-               preventry = entry;
                }
        }  
        next.Reset();