From 60d02e61bbdb8e09510c62db6d4459b3079e4933 Mon Sep 17 00:00:00 2001 From: morsch Date: Wed, 29 May 2013 15:06:49 +0000 Subject: [PATCH] CID 21227: Uninitialized scalar field (UNINIT_CTOR) --- PYTHIA8/pythia8175/include/HelicityBasics.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PYTHIA8/pythia8175/include/HelicityBasics.h b/PYTHIA8/pythia8175/include/HelicityBasics.h index 7cccfca219a..8da831a2d06 100644 --- a/PYTHIA8/pythia8175/include/HelicityBasics.h +++ b/PYTHIA8/pythia8175/include/HelicityBasics.h @@ -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., -- 2.39.3