From 9d9f29f5094bdc1bf972f2258939adbf09795831 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 21 Jul 2014 12:06:39 -0700 Subject: [PATCH] client: fix compile warning --- client/app.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/app.cpp b/client/app.cpp index 1e6ab4cfd0..f11955ba64 100644 --- a/client/app.cpp +++ b/client/app.cpp @@ -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