CID 21227: Uninitialized scalar field (UNINIT_CTOR)
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 May 2013 15:06:49 +0000 (15:06 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 May 2013 15:06:49 +0000 (15:06 +0000)
PYTHIA8/pythia8175/include/HelicityBasics.h

index 7cccfca..8da831a 100644 (file)
@@ -183,7 +183,7 @@ class HelicityParticle : public Particle {
 public:
   
   // Constructors.
-  HelicityParticle() : Particle() { direction = 1;}
+ HelicityParticle() : Particle(), idx(0), direction(1) {}
   HelicityParticle(int idIn, int statusIn = 0, int mother1In = 0,
     int mother2In = 0, int daughter1In = 0, int daughter2In = 0,
     int colIn = 0, int acolIn = 0, double pxIn = 0.,