From 2f6f30a93902c199869da5f79468f76993c86059 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Tue, 29 Sep 2015 04:27:27 +0200 Subject: [PATCH] Fix -Wuninitialized warnings --- Source/Core/Common/LinearDiskCache.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Common/LinearDiskCache.h b/Source/Core/Common/LinearDiskCache.h index a00eb7ab37..b9dd2b61d4 100644 --- a/Source/Core/Common/LinearDiskCache.h +++ b/Source/Core/Common/LinearDiskCache.h @@ -72,8 +72,8 @@ public: K key; V *value = nullptr; - u32 value_size; - u32 entry_number; + u32 value_size = 0; + u32 entry_number = 0; std::fstream::pos_type last_pos = m_file.tellg();