From a8ccc2aa89c78108566c67b9e853797ea451f9c8 Mon Sep 17 00:00:00 2001 From: hwspeedy Date: Fri, 24 May 2024 10:20:25 +0200 Subject: FIX GCC Warnings, added more checking to gcc flags --- modules/benchmark/fft.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'modules/benchmark/fft.c') diff --git a/modules/benchmark/fft.c b/modules/benchmark/fft.c index df643fe2..65ef5c30 100644 --- a/modules/benchmark/fft.c +++ b/modules/benchmark/fft.c @@ -27,9 +27,7 @@ static gpointer fft_for(void *in_data, gint thread_number) { - unsigned int i; FFTBench **benches = (FFTBench **)in_data; - FFTBench *fftbench = (FFTBench *)(benches[thread_number]); fft_bench_run(benches[thread_number]); @@ -42,8 +40,7 @@ benchmark_fft(void) int cpu_procs, cpu_cores, cpu_threads, cpu_nodes; bench_value r = EMPTY_BENCH_VALUE; - int n_cores, i; - gchar *temp; + int i; FFTBench **benches=NULL; shell_view_set_enabled(FALSE); -- cgit v1.2.3