Commit 2fe115c2 authored by Mathieu Valois's avatar Mathieu Valois
Browse files

fix unused & wrongly-placed instructions

parent 992dcda5
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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();

+1 −1
Original line number Diff line number Diff line
@@ -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) {