Skip to content
Snippets Groups Projects
Commit 2fe115c2 authored by Mathieu Valois's avatar Mathieu Valois
Browse files

fix unused & wrongly-placed instructions

parent 992dcda5
No related branches found
No related tags found
No related merge requests found
Pipeline #6310 failed
......@@ -28,7 +28,6 @@ class ProgressThread : public QThread
void run() {
unsigned int progress = 0;
uint64_t processed = 0;
int finished = 0;
const int nbthreads = _s.getNbThreads();
const struct ThreadData* td = _s.getThreadsData();
......
......@@ -127,10 +127,10 @@ int Statsgen::generate_stats() {
cerr << "[ERROR] unable to join," << rc << endl;
exit(-1);
}
finished++;
if(i >= 1){
td[0] += td[i];
}
finished++;
}
if (!td[0].total_counter) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment