From 2bb2ad3d8a1f05b5185e96fba99d443f0da5fcc8 Mon Sep 17 00:00:00 2001 From: Oliver Bock <oliver.bock@aei.mpg.de> Date: Thu, 17 Mar 2011 11:50:45 +0100 Subject: [PATCH] Avoid compiler warnings --- src/fft_execute.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fft_execute.cpp b/src/fft_execute.cpp index 90d24dd..b500cd3 100644 --- a/src/fft_execute.cpp +++ b/src/fft_execute.cpp @@ -133,7 +133,7 @@ clFFT_ExecuteInterleaved( cl_command_queue queue, clFFT_Plan Plan, cl_int batchS cl_int err; size_t gWorkItems, lWorkItems; - int inPlaceDone; + int inPlaceDone = -1; cl_int isInPlace = data_in == data_out ? 1 : 0; @@ -231,7 +231,7 @@ clFFT_ExecutePlannar( cl_command_queue queue, clFFT_Plan Plan, cl_int batchSize, cl_int err; size_t gWorkItems, lWorkItems; - int inPlaceDone; + int inPlaceDone = -1; cl_int isInPlace = ((data_in_real == data_out_real) && (data_in_imag == data_out_imag)) ? 1 : 0; -- GitLab