Fix uninitialised API structure boolean fields

They were causing intermittent test failures.
This commit is contained in:
Oliver Hamlet
2016-10-29 20:30:03 +01:00
parent 6bb90c2b8a
commit c27e55cdc6
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -32,6 +32,8 @@ namespace loot {
* revision.
*/
struct MasterlistInfo {
inline MasterlistInfo() : is_modified(false) {}
/**
* @brief The revision hash for the masterlist. If the masterlist doesn't
* exist, or there is no Git repository at its location, this will be
+2
View File
@@ -33,6 +33,8 @@ namespace loot {
* LOOT for a plugin.
*/
struct PluginTags {
inline PluginTags() : userlist_modified(false) {}
/**
* @brief A set of Bash Tag names suggested for addition to the specified
* plugin. Empty if no Bash Tag additions are suggested.