aboutsummaryrefslogtreecommitdiff
path: root/modules/benchmark.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.c
parent25c366a8074af72c0811a960b947302bed036669 (diff)
FIX GCC Warnings, added more checking to gcc flags
Diffstat (limited to 'modules/benchmark.c')
-rw-r--r--modules/benchmark.c3
1 files changed, 0 insertions, 3 deletions
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;