mirror of https://github.com/djcb/mu.git
mu: ensure some struct members are initialized
This commit is contained in:
parent
9ef1a3c0cf
commit
a4fded5edd
|
@ -39,8 +39,8 @@ namespace Mu {
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
struct Warning {
|
struct Warning {
|
||||||
size_t pos; /**< pos in string */
|
size_t pos{}; /**< pos in string */
|
||||||
const std::string msg; /**< warning message */
|
const std::string msg; /**< warning message */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* operator==
|
* operator==
|
||||||
|
|
|
@ -30,7 +30,7 @@ using namespace Mu;
|
||||||
|
|
||||||
struct Case {
|
struct Case {
|
||||||
const std::string expr;
|
const std::string expr;
|
||||||
bool is_first;
|
bool is_first{};
|
||||||
const std::string expected;
|
const std::string expected;
|
||||||
};
|
};
|
||||||
using CaseVec = std::vector<Case>;
|
using CaseVec = std::vector<Case>;
|
||||||
|
|
Loading…
Reference in New Issue