Skip to content

Commit

Permalink
fix uninit coverity issue 1075413, re #11829
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeMPouzols committed May 24, 2015
1 parent f239ed0 commit 10ee4ce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Code/Mantid/Framework/DataHandling/src/FindDetectorsPar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ DECLARE_ALGORITHM(FindDetectorsPar)
using namespace Kernel;
using namespace API;
// nothing here according to mantid
FindDetectorsPar::FindDetectorsPar() : m_SizesAreLinear(false){}
FindDetectorsPar::~FindDetectorsPar(){}
FindDetectorsPar::FindDetectorsPar()
: m_SizesAreLinear(false), m_nDetectors(0) {}
FindDetectorsPar::~FindDetectorsPar() {}

void FindDetectorsPar::init() {
auto wsValidator = boost::make_shared<CompositeValidator>();
Expand Down

0 comments on commit 10ee4ce

Please sign in to comment.