Skip to content

Commit

Permalink
Refs #4473 warnings fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Janik Zikovsky committed Feb 10, 2012
1 parent 69202c3 commit f7623fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class MatrixWorkspaceMDIteratorTest : public CxxTest::TestSuite
void test_iterating()
{
boost::shared_ptr<MatrixWorkspace> ws = makeFakeWS();
IMDIterator * it;
IMDIterator * it = NULL;
TS_ASSERT_THROWS_NOTHING( it = ws->createIterator(NULL) );
TS_ASSERT_EQUALS( it->getDataSize(), 20);
TS_ASSERT_DELTA( it->getSignal(), 0.0, 1e-5);
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/CurveFitting/src/Fit1D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ void Fit1D::exec()

// check if derivative defined in derived class
bool isDerivDefined = true;
gsl_matrix * M;
gsl_matrix * M = NULL;
try
{
const std::vector<double> inTest(m_parameterNames.size(),1.0);
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/CurveFitting/test/GausDecayTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class GausDecayTest : public CxxTest::TestSuite
TS_ASSERT( alg2.isExecuted() );

// test the output from fit is what you expect
double dummy =
// double dummy =
alg2.getProperty("OutputChi2overDoF");
// TS_ASSERT_DELTA( dummy, 0.0, 1.0);

Expand Down

0 comments on commit f7623fa

Please sign in to comment.