diff --git a/fdbclient/ClientLibManagement.actor.cpp b/fdbclient/ClientLibManagement.actor.cpp index b6fe6acef9..f75f8f1fe2 100644 --- a/fdbclient/ClientLibManagement.actor.cpp +++ b/fdbclient/ClientLibManagement.actor.cpp @@ -39,11 +39,10 @@ namespace ClientLibManagement { struct ClientLibBinaryInfo { - size_t totalBytes; - size_t chunkCnt; - size_t chunkSize; + size_t totalBytes = 0; + size_t chunkCnt = 0; + size_t chunkSize = 0; std::string sumBytes; - ClientLibBinaryInfo() : totalBytes(0), chunkCnt(0), chunkSize(0) {} }; const std::string& getStatusName(ClientLibStatus status) { diff --git a/fdbclient/ClientLibManagement.actor.h b/fdbclient/ClientLibManagement.actor.h index 174d723933..ee46d860d6 100644 --- a/fdbclient/ClientLibManagement.actor.h +++ b/fdbclient/ClientLibManagement.actor.h @@ -62,17 +62,13 @@ inline const std::string CLIENTLIB_ATTR_CHUNK_COUNT{ "chunkcount" }; inline const std::string CLIENTLIB_ATTR_CHUNK_SIZE{ "chunksize" }; struct ClientLibFilter { - bool matchAvailableOnly; - bool matchPlatform; - bool matchCompatibleAPI; - bool matchNewerPackageVersion; - ClientLibPlatform platformVal; - int apiVersion; - int numericPkgVersion; - - ClientLibFilter() - : matchAvailableOnly(false), matchPlatform(false), matchCompatibleAPI(false), matchNewerPackageVersion(false), - platformVal(CLIENTLIB_UNKNOWN_PLATFORM), apiVersion(0) {} + bool matchAvailableOnly = false; + bool matchPlatform = false; + bool matchCompatibleAPI = false; + bool matchNewerPackageVersion = false; + ClientLibPlatform platformVal = CLIENTLIB_UNKNOWN_PLATFORM; + int apiVersion = 0; + int numericPkgVersion = 0; ClientLibFilter& filterAvailable() { matchAvailableOnly = true;