diff options
author | sergey.galtsev <sergey.galtsev@mongodb.com> | 2021-11-19 20:41:12 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-11-19 21:07:17 +0000 |
commit | c6569ad1b56c1805bb46247b17d7b11cd0b111fd (patch) | |
tree | 3ba5f2361e6c15f6c1f74b60f8f8f1b01c1e6ef0 /src/mongo/util/procparser_test.cpp | |
parent | 58ef9c017192e1a951c123124f0bca38233117da (diff) | |
download | mongo-c6569ad1b56c1805bb46247b17d7b11cd0b111fd.tar.gz |
SERVER-61470 uninitialized variable in unit test
Diffstat (limited to 'src/mongo/util/procparser_test.cpp')
-rw-r--r-- | src/mongo/util/procparser_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/procparser_test.cpp b/src/mongo/util/procparser_test.cpp index 637c7127970..04edee43380 100644 --- a/src/mongo/util/procparser_test.cpp +++ b/src/mongo/util/procparser_test.cpp @@ -669,7 +669,7 @@ TEST(FTDCProcDiskStats, TestLocalDiskStats) { boost::filesystem::space_info mockGetSpace(const boost::filesystem::path& p, boost::system::error_code& ec) { ec = boost::system::error_code(); - boost::filesystem::space_info result; + auto result = boost::filesystem::space_info(); if (p.string() == "/") { result.available = 11213234231; result.capacity = 23432543255; |