]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliGenMUONCocktailpp.cxx
warnings corrected
[u/mrichter/AliRoot.git] / EVGEN / AliGenMUONCocktailpp.cxx
index 0d0dd401098f5321784d44bb34c7d01d4058b462..6cd7ce84cd7239751a3efbbc491194d60a47afb8 100644 (file)
@@ -675,7 +675,6 @@ void AliGenMUONCocktailpp::Generate()
 // Generate event 
     TIter next(fEntries);
     AliGenCocktailEntry *entry = 0;
-    AliGenCocktailEntry *preventry = 0;
     AliGenerator* gen = 0;
 
     if (fHeader) delete fHeader;
@@ -718,7 +717,6 @@ void AliGenMUONCocktailpp::Generate()
                gen->SetNumberParticles(npart);         
                gen->Generate();
                entry->SetLast(partArray->GetEntriesFast());
-               preventry = entry;
            }
        }  
        next.Reset();