diff --git a/Code/Mantid/Framework/DataHandling/src/FindDetectorsInShape.cpp b/Code/Mantid/Framework/DataHandling/src/FindDetectorsInShape.cpp index 2e2507457d4724c5cdb12c540731c375f259bb78..e938473a6eaef03495cbb292360083ec458938a5 100644 --- a/Code/Mantid/Framework/DataHandling/src/FindDetectorsInShape.cpp +++ b/Code/Mantid/Framework/DataHandling/src/FindDetectorsInShape.cpp @@ -89,7 +89,6 @@ void FindDetectorsInShape::initDocs() detid2det_map::const_iterator it_end = allDetectors.end(); for (it = allDetectors.begin(); it != it_end; it++) { - detid_t detectorID = it->first; Geometry::IDetector_sptr det = it->second; //attempt to dynamic cast up to an IDetector