Fix -Wmaybe-uninitialized warning (#600)

This commit is contained in:
Florian Eich
2018-09-24 01:40:53 +02:00
committed by Jesse Beder
parent ee99c4151c
commit ca77ef716e

View File

@@ -77,10 +77,11 @@ class YAML_CPP_API RegEx {
private: private:
REGEX_OP m_op; REGEX_OP m_op;
char m_a, m_z; char m_a{};
char m_z{};
std::vector<RegEx> m_params; std::vector<RegEx> m_params;
}; };
} } // namespace YAML
#include "regeximpl.h" #include "regeximpl.h"