diff --git a/slsDetectorSoftware/slsDetector/slsDetector.cpp b/slsDetectorSoftware/slsDetector/slsDetector.cpp index e2a1b4f35..29e811079 100644 --- a/slsDetectorSoftware/slsDetector/slsDetector.cpp +++ b/slsDetectorSoftware/slsDetector/slsDetector.cpp @@ -3416,7 +3416,6 @@ int slsDetector::writeCounterBlockFile(std::string const fname,int startACQ) { int slsDetector::getCounterBlock(short int image[],int startACQ) { - int nChan = getTotalNumberOfChannels(); int fnum = F_READ_COUNTER_BLOCK; int ret = FAIL; int nChan = getTotalNumberOfChannels();