Commit 9b75a3c6 authored by Jason Rhinelander's avatar Jason Rhinelander
Browse files

Silenced -Wall warnings

parent 3468a4e9
Pipeline #95 skipped
......@@ -396,8 +396,7 @@ void thread_runner(std::promise<void> started, const std::pair<std::string, std:
" job " << std::setw(job_strlen) << myjobno <<
" on " << std::setw(hostthr_strlen) << std::left << hostthr << std::right <<
" at " << std::put_time(std::localtime(&t_finished), time_format) <<
" in " << duration(elapsed) << " (" << duration(host_cumul / (host_succ + host_fail)) <<
" host avg)" <<
" in " << duration(elapsed) << " (" << duration(host_avg_speed) << " host avg)" <<
". " << jobs_remaining << " job" << (jobs_remaining == 1 ? "" : "s") << " remaining (" <<
duration(est_remaining) << " est.)";
......@@ -585,9 +584,9 @@ int main(int argc, char *argv[]) {
}
bool none = false;
for (int j = 0; not none and jobno < total_jobs; j++) {
for (unsigned j = 0; not none and jobno < total_jobs; j++) {
none = true;
for (int i = 0; i < hosts.size() and jobno < total_jobs; i++) {
for (unsigned i = 0; i < hosts.size() and jobno < total_jobs; i++) {
if (j < host_jobs(hosts[i].first, perhost_arg and not host_arg)) {
none = false;
// Use a promise/future to sychronize so that we are guaranteed to run at least
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment