From 008b1deb1e686d5f93cb209f8b9be516de2712d6 Mon Sep 17 00:00:00 2001 From: Christian Beer Date: Wed, 29 May 2019 20:45:44 +0200 Subject: [PATCH] Client: initialize struct members found by Coverity (CIDs 28037 27943) --- client/project.cpp | 14 ++++++++++++++ client/work_fetch.h | 2 ++ 2 files changed, 16 insertions(+) diff --git a/client/project.cpp b/client/project.cpp index 8eab6e2503..b349f088e8 100644 --- a/client/project.cpp +++ b/client/project.cpp @@ -47,7 +47,11 @@ void PROJECT::init() { project_specific_prefs = ""; gui_urls = ""; resource_share = 100; + resource_share_frac = 0.0; + disk_resource_share = 0.0; desired_disk_usage = 0; + ddu = 0.0; + disk_quota = 0.0; for (int i=0; i