removed unused variable in slsDetector

This commit is contained in:
Erik Frojdh
2018-03-16 10:41:30 +01:00
parent 40210ae26f
commit 50111bcea7

View File

@ -827,8 +827,8 @@ int multiSlsDetector::addSlsDetector(detectorType t, int pos) {
#ifdef VERBOSE
cout << "Creating detector " << id << " of type " << getDetectorType(t) << endl;
#endif
slsDetector *s=new slsDetector(pos, t, id, this);
s=NULL;
new slsDetector(pos, t, id, this);
#ifdef VERBOSE
cout << "Adding it to the multi detector structure" << endl;
#endif
@ -6998,4 +6998,3 @@ bool multiSlsDetector::isAcquireReady() {
thisMultiDetector->acquiringFlag = true;
return OK;
}