summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PostProcessing.h
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/VideoCommon/PostProcessing.h
parenta0a91ec4b86b16624b2da7000a0f54852cd33872 (diff)
parent78bfd25964206a1f0a34170fdd90ca1a8ce242db (diff)
Merge pull request #10085 from Pokechu22/C26495
Fix all uninitialized variable warnings (C26495)
Diffstat (limited to 'Source/Core/VideoCommon/PostProcessing.h')
-rw-r--r--Source/Core/VideoCommon/PostProcessing.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/PostProcessing.h b/Source/Core/VideoCommon/PostProcessing.h
index 55f92c5914..aafee8f1f6 100644
--- a/Source/Core/VideoCommon/PostProcessing.h
+++ b/Source/Core/VideoCommon/PostProcessing.h
@@ -31,7 +31,7 @@ public:
OPTION_INTEGER,
};
- bool m_bool_value;
+ bool m_bool_value = false;
std::vector<float> m_float_values;
std::vector<s32> m_integer_values;
@@ -45,12 +45,12 @@ public:
std::vector<float> m_float_step_values;
std::vector<s32> m_integer_step_values;
- OptionType m_type;
+ OptionType m_type = OptionType::OPTION_BOOL;
std::string m_gui_name;
std::string m_option_name;
std::string m_dependent_option;
- bool m_dirty;
+ bool m_dirty = false;
};
using ConfigMap = std::map<std::string, ConfigurationOption>;