summaryrefslogtreecommitdiff
path: root/Source/Core/UpdaterCommon/UpdaterCommon.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-10-13 21:52:22 +0200
committerGitHub <noreply@github.com>2021-10-13 21:52:22 +0200
commit023eb0b7029eb3633ce9eeb039c11d835ea7fd74 (patch)
tree93aeabec56ac75e8d88baeb6f78e27840d09dead /Source/Core/UpdaterCommon/UpdaterCommon.cpp
parenta0a91ec4b86b16624b2da7000a0f54852cd33872 (diff)
parent78bfd25964206a1f0a34170fdd90ca1a8ce242db (diff)
Merge pull request #10085 from Pokechu22/C26495
Fix all uninitialized variable warnings (C26495)
Diffstat (limited to 'Source/Core/UpdaterCommon/UpdaterCommon.cpp')
-rw-r--r--Source/Core/UpdaterCommon/UpdaterCommon.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/UpdaterCommon/UpdaterCommon.cpp b/Source/Core/UpdaterCommon/UpdaterCommon.cpp
index 74665bf4c1..f3c18c2609 100644
--- a/Source/Core/UpdaterCommon/UpdaterCommon.cpp
+++ b/Source/Core/UpdaterCommon/UpdaterCommon.cpp
@@ -49,7 +49,7 @@ struct TodoList
struct DownloadOp
{
Manifest::Filename filename;
- Manifest::Hash hash;
+ Manifest::Hash hash{};
};
std::vector<DownloadOp> to_download;
@@ -57,14 +57,14 @@ struct TodoList
{
Manifest::Filename filename;
std::optional<Manifest::Hash> old_hash;
- Manifest::Hash new_hash;
+ Manifest::Hash new_hash{};
};
std::vector<UpdateOp> to_update;
struct DeleteOp
{
Manifest::Filename filename;
- Manifest::Hash old_hash;
+ Manifest::Hash old_hash{};
};
std::vector<DeleteOp> to_delete;