Browse Source

MT#55283 fix possible use without initialiser

Change-Id: I7d08d549aedc3c6b5075062d898c3726902fe302
pull/1747/head
Richard Fuchs 2 years ago
parent
commit
3b1493a6bc
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      perf-tester/main.c

+ 2
- 2
perf-tester/main.c View File

@ -1094,7 +1094,7 @@ static void worker_stats(struct worker *w, int idx, int starty, int height, int
int maxx,
struct stats *totals)
{
struct stats stats;
struct stats stats = {0};
worker_collect(w, &stats);
workers_totals(&stats, totals);
@ -1639,7 +1639,7 @@ static void delay_measure_workers(uint milliseconds, struct stats *totals) {
LOCK(&workers_lock);
for (GList *l = workers.head; l; l = l->next) {
struct worker *w = l->data;
struct stats stats;
struct stats stats = {0};
worker_collect(w, &stats);
workers_totals(&stats, totals);
}


Loading…
Cancel
Save