From 6cbf65a87765e0aeac759a685cc6a1b7c836e7f8 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 27 Aug 2016 02:26:11 +0300 Subject: [PATCH] Fix some uninitialized variables --- source/resourcemanager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/resourcemanager.cpp b/source/resourcemanager.cpp index 6d383de4..57b03273 100644 --- a/source/resourcemanager.cpp +++ b/source/resourcemanager.cpp @@ -24,6 +24,7 @@ resource_load_error::resource_load_error(const string &name, const exception &ex ResourceManager::ResourceManager(): policy(LOAD_ON_DEMAND), async_loads(true), + total_data_size(0), size_limit(0), frame(0), min_retain_frames(30), @@ -374,6 +375,7 @@ ResourceManager::LoadingThread::LoadingThread(): sem(1), capacity(2), size(0), + loaded_data_size(0), done(false) { launch(); -- 2.45.2