CID 21254: Uninitialized scalar field (UNINIT_CTOR)
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 May 2013 13:59:33 +0000 (13:59 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 May 2013 13:59:33 +0000 (13:59 +0000)
PYTHIA8/pythia8175/include/SusyResonanceWidths.h

index 6e28bb8..b12aaef 100644 (file)
@@ -24,7 +24,13 @@ class WidthFunction {
 public:
 
   // Constructor and destructor.
-  WidthFunction() { };
+ WidthFunction() :
+  particleDataPtr(0), coupSUSYPtr(0),
+    id1(0), id2(0), id3(0),
+    mRes(0), mInt(0), gammaInt(0), m1(0), m2(0), m3(0),
+    idRes(0), idInt(0), iSq(0), iQ(0), iX(0),
+    isSqDown(0)
+      { };
   virtual ~WidthFunction() { };
 
   void init( ParticleData* particleDataPtrIn, CoupSUSY* coupSUSYPtrIn);