Skip to content

Commit

Permalink
refs #7351 Trivial compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Jul 18, 2013
1 parent c74ce0e commit dd11775
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Code/Mantid/Framework/Algorithms/src/SofQW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ void SofQW::createInputProperties(API::Algorithm & alg)
void SofQW::exec()
{
using namespace Geometry;
double efixed(-1000.);

MatrixWorkspace_const_sptr inputWorkspace = getProperty("InputWorkspace");
// Do the full check for common binning
Expand All @@ -113,8 +112,7 @@ void SofQW::exec()

// Get a pointer to the instrument contained in the workspace
Instrument_const_sptr instrument = inputWorkspace->getInstrument();
// Get the parameter map
const ParameterMap& pmap = inputWorkspace->constInstrumentParameters();

// Get the distance between the source and the sample (assume in metres)
IObjComponent_const_sptr source = instrument->getSource();
IObjComponent_const_sptr sample = instrument->getSample();
Expand Down

0 comments on commit dd11775

Please sign in to comment.