Skip to content

Commit b02b4f1

Browse files
committed
Avoid -Wuninitialized warnings
1 parent 97bafeb commit b02b4f1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/actions.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ namespace quickbook
183183

184184
struct cond_phrase_push : scoped_action_base
185185
{
186-
cond_phrase_push(quickbook::state& x) : state(x) {}
186+
cond_phrase_push(quickbook::state& x) : state(x), saved_conditional() {}
187187

188188
bool start();
189189
void cleanup();
@@ -270,7 +270,7 @@ namespace quickbook
270270

271271
struct to_value_scoped_action : scoped_action_base
272272
{
273-
to_value_scoped_action(quickbook::state& state_) : state(state_) {}
273+
to_value_scoped_action(quickbook::state& state_) : state(state_), tag() {}
274274

275275
bool start(value::tag_type = value::default_tag);
276276
void success(parse_iterator, parse_iterator);

0 commit comments

Comments
 (0)