client: fix compile warning

This commit is contained in:
David Anderson 2014-07-21 12:06:39 -07:00
parent 8710b5e260
commit 9d9f29f509
1 changed files with 2 additions and 1 deletions

View File

@ -343,7 +343,8 @@ void ACTIVE_TASK_SET::get_memory_usage() {
}
PROCINFO boinc_total;
if (log_flags.mem_usage_debug) {
memset(&boinc_total, 0, sizeof(boinc_total));
boinc_total.clear();
boinc_total.working_set_size_smoothed = 0;
}
for (i=0; i<active_tasks.size(); i++) {
ACTIVE_TASK* atp = active_tasks[i];