fixed warnings

This commit is contained in:
2022-01-07 08:54:20 +01:00
parent 79affe1ea4
commit 549fef5680
2 changed files with 5 additions and 9 deletions

View File

@ -171,7 +171,7 @@ void Implementation::setDetectorType(const detectorType d) {
&framesPerFile, &frameDiscardMode, &activated,
&detectorDataStream[i], &silentMode));
int ctbAnalogDataBytes = 0;
if (myDetectorType == CHIPTESTBOARD) {
if (detType == CHIPTESTBOARD) {
ctbAnalogDataBytes = generalData->GetNumberOfAnalogDatabytes();
}
dataProcessor.push_back(sls::make_unique<DataProcessor>(
@ -896,7 +896,7 @@ void Implementation::setNumberofUDPInterfaces(const int n) {
listener[i]->SetGeneralData(generalData);
int ctbAnalogDataBytes = 0;
if (myDetectorType == CHIPTESTBOARD) {
if (detType == CHIPTESTBOARD) {
ctbAnalogDataBytes =
generalData->GetNumberOfAnalogDatabytes();
}