summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PostProcessing.h
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2021-09-03 21:43:19 -0700
committerPokechu22 <Pokechu022@gmail.com>2021-10-13 12:32:16 -0700
commit78bfd25964206a1f0a34170fdd90ca1a8ce242db (patch)
tree93aeabec56ac75e8d88baeb6f78e27840d09dead /Source/Core/VideoCommon/PostProcessing.h
parent525e6b21943b09172043797535db6a2890c45805 (diff)
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>;