diff --git a/CEP/Imager/LofarFT/src/LofarConvolutionFunction.cc b/CEP/Imager/LofarFT/src/LofarConvolutionFunction.cc
index 4b04e7d1fc35941e52fc3d863db04a031de3182e..2c78fcf65847abec9c051dbe7a5f84c0636c932c 100644
--- a/CEP/Imager/LofarFT/src/LofarConvolutionFunction.cc
+++ b/CEP/Imager/LofarFT/src/LofarConvolutionFunction.cc
@@ -1165,7 +1165,7 @@ namespace LOFAR
     IPosition posOut(4,1,1,1,1);
     IPosition posEl(2,1,1);
     Complex pix;
-    uInt jjpix,ch;
+    uInt jjpix,ch = 0; /* gcc somehow complains ch can be uninitialised */
     Complex ElementValue;
     for(ch=0; ch<input_grid.shape()[3]; ++ch){
 #pragma omp parallel