From d6a97ba11b566c412077c76c29e0281eda7b7359 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Sat, 9 May 2020 13:36:59 -0700 Subject: Remove moreinfo with BENCH prefix right before preparing for shell --- modules/benchmark.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/benchmark.c b/modules/benchmark.c index 166231c5..a2b975bc 100644 --- a/modules/benchmark.c +++ b/modules/benchmark.c @@ -550,10 +550,7 @@ static gchar *benchmark_include_results_internal(bench_value this_machine_value, gchar *path; gint i; - moreinfo_del_with_prefix("BENCH"); - path = find_benchmark_conf(); - if (path) { if (g_str_has_suffix(path, ".json")) result_list = benchmark_include_results_json( @@ -577,6 +574,8 @@ static gchar *benchmark_include_results_internal(bench_value this_machine_value, result_list = g_slist_reverse(result_list); /* prepare for shell */ + moreinfo_del_with_prefix("BENCH"); + const struct bench_window window = get_bench_window(result_list, this_machine); for (i = 0, li = result_list; li; li = g_slist_next(li), i++) { bench_result *br = li->data; -- cgit v1.2.3