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.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'modules/benchmark.c') diff --git a/modules/benchmark.c b/modules/benchmark.c index 79662c06..441dc1ac 100644 --- a/modules/benchmark.c +++ b/modules/benchmark.c @@ -245,7 +245,6 @@ bench_value benchmark_parallel_for(gint n_threads, gpointer callback, gpointer callback_data) { - gchar *temp; int cpu_procs, cpu_cores, cpu_threads, cpu_nodes; guint iter_per_thread=1, iter, thread_number = 0; GSList *threads = NULL, *t; @@ -409,7 +408,6 @@ static GSList *benchmark_include_results_json(const gchar *path, { JsonParser *parser; JsonNode *root; - bench_result *this_machine = NULL; GSList *result_list = NULL; GError *error=NULL; @@ -747,7 +745,6 @@ static gchar *get_benchmark_results(gsize *len) void (*scan_callback)(gboolean); JsonBuilder *builder; JsonGenerator *generator; - JsonNode *root; bench_machine *this_machine; gchar *out; guint i; -- cgit v1.2.3