From af300e02766466947ecdcf840a61c2963921b3cb Mon Sep 17 00:00:00 2001 From: Dhanya Thattil <33750417+thattil@users.noreply.github.com> Date: Thu, 20 Oct 2022 10:50:31 +0200 Subject: [PATCH] fix compiler warning for ctb gui for moench getGain: aoff not declared (#565) --- slsDetectorCalibration/dataStructures/moench04CtbZmq10GbData.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsDetectorCalibration/dataStructures/moench04CtbZmq10GbData.h b/slsDetectorCalibration/dataStructures/moench04CtbZmq10GbData.h index f2e230e77..38a618df3 100644 --- a/slsDetectorCalibration/dataStructures/moench04CtbZmq10GbData.h +++ b/slsDetectorCalibration/dataStructures/moench04CtbZmq10GbData.h @@ -107,7 +107,7 @@ class moench04CtbZmq10GbData : public slsDetectorData { int getGain(char *data, int x, int y) { - // int aoff=aSamples*2*32; + int aoff=aSamples*2*32; int irow; int isc = x / sc_width; int icol = x % sc_width;