--- src/host/matahari-host.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/host/matahari-host.cpp b/src/host/matahari-host.cpp index 3840665..d695f35 100644 --- a/src/host/matahari-host.cpp +++ b/src/host/matahari-host.cpp @@ -108,7 +108,7 @@ int HostAgent::heartbeat() { uint64_t timestamp = 0L, now = 0L; - sigar_loadavg_t avg; + sigar_loadavg_t avg = { 0, 0, 0 }; sigar_proc_stat_t procs; static uint32_t _heartbeat_sequence = 1;