Add variable initialization
authorakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Jun 2011 12:33:45 +0000 (12:33 +0000)
committerakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Jun 2011 12:33:45 +0000 (12:33 +0000)
TTherminator/Therminator/Event.cxx

index cea3deb..cd9c585 100644 (file)
@@ -288,7 +288,7 @@ Event::GenerateMultiplicities()
 void 
 Event::DecayParticles()
 {
-  Particle *tPart1, *tPart2, *tPart3, *tFather;
+  Particle *tPart1=NULL, *tPart2=NULL, *tPart3=NULL, *tFather=NULL;
   ParticleDecayer* tDecayer;
   int tCount = 0;