aboutsummaryrefslogtreecommitdiff
path: root/modules/benchmark/fft.c
diff options
context:
space:
mode:
authorhwspeedy <ns@bigbear.dk>2024-05-24 10:20:25 +0200
committerhwspeedy <ns@bigbear.dk>2024-05-24 10:20:25 +0200
commita8ccc2aa89c78108566c67b9e853797ea451f9c8 (patch)
tree9499a58b04a6baf1ab4a0741f7a31d3ddbc0fbc8 /modules/benchmark/fft.c
parent25c366a8074af72c0811a960b947302bed036669 (diff)
FIX GCC Warnings, added more checking to gcc flags
Diffstat (limited to 'modules/benchmark/fft.c')
-rw-r--r--modules/benchmark/fft.c5
1 files changed, 1 insertions, 4 deletions
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);