From: hristov Date: Wed, 29 May 2013 14:23:14 +0000 (+0000) Subject: Coverity 21241 X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=18fb684edff45668157cc02300215042e333cde2;p=u%2Fmrichter%2FAliRoot.git Coverity 21241 --- diff --git a/PYTHIA8/pythia8175/include/RHadrons.h b/PYTHIA8/pythia8175/include/RHadrons.h index 5e971b638ea..bf9570a48be 100644 --- a/PYTHIA8/pythia8175/include/RHadrons.h +++ b/PYTHIA8/pythia8175/include/RHadrons.h @@ -30,7 +30,17 @@ class RHadrons { public: // Constructor. - RHadrons() : nRHad(0) {} + RHadrons() : allowRH(false), allowRSb(false), allowRSt(false), allowRGo(false), allowSomeR(false), setMassesRH(false), + idRSb(0), idRSt(0), idRGo(0), + maxWidthRH(0), probGluinoballRH(0), mOffsetCloudRH(0), mCollapseRH(0), + diquarkSpin1RH(0), m0Sb(0), m0St(0), m0Go(0), + nRHad(0), iRHad(0), iBef(0), iSys(0), + systemPtr(0x0), + infoPtr(0x0), + particleDataPtr(0x0), + rndmPtr(0x0), + flavSelPtr(0x0), + zSelPtr(0x0) {} // Initialization of R-hadron handling. bool init( Info* infoPtrIn, Settings& settings,