mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00
Fix -Wmaybe-uninitialized warning (#600)
This commit is contained in:

committed by
Jesse Beder

parent
ee99c4151c
commit
ca77ef716e
@@ -77,10 +77,11 @@ class YAML_CPP_API RegEx {
|
||||
|
||||
private:
|
||||
REGEX_OP m_op;
|
||||
char m_a, m_z;
|
||||
char m_a{};
|
||||
char m_z{};
|
||||
std::vector<RegEx> m_params;
|
||||
};
|
||||
}
|
||||
} // namespace YAML
|
||||
|
||||
#include "regeximpl.h"
|
||||
|
||||
|
Reference in New Issue
Block a user