mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fix uninitialised API structure boolean fields
They were causing intermittent test failures.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user