Skip to content

Commit

Permalink
refs #6025. Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Oct 28, 2012
1 parent f14bfab commit c3026be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Code/Mantid/Framework/Algorithms/src/SmoothNeighbours.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ It would be best if this sort of functionality could be put onto the instrument.
*/
bool SmoothNeighbours::isRectangularDetectorInstrument() const
{
bool isRectangularDetectorInstrument;
bool isRectangularDetectorInstrument = false;
if(!inWS)
{
throw std::runtime_error("InputWorkspace has not been provided.");
Expand All @@ -633,7 +633,6 @@ bool SmoothNeighbours::isRectangularDetectorInstrument() const
else
{
g_log.debug("Assuming Non-Rectangular Detectors for SmoothNeighbours on this data.");
isRectangularDetectorInstrument = false;
}
}
}
Expand Down

0 comments on commit c3026be

Please sign in to comment.