Commit 59b361ba authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

fix some unused variable warning in mingw

* spot/twaalgos/mealy_machine.cc (is_split_mealy_specialization): Hide
spl in NDEBUG.
* spot/twaalgos/synthesis.cc (apply_strategy): sp is not always used.
parent 81375d7a
......@@ -3725,13 +3725,12 @@ namespace spot
assert(is_split_mealy(left));
assert(is_split_mealy(right));
auto& spl = get_state_players(left);
auto& spr = get_state_players(right);
const unsigned initl = left->get_init_state_number();
const unsigned initr = right->get_init_state_number();
auto& spr = get_state_players(right);
#ifndef NDEBUG
auto& spl = get_state_players(left);
// todo
auto check_out = [](const const_twa_graph_ptr& aut,
const auto& sp)
......
......@@ -150,6 +150,7 @@ namespace{
assert((sp[arena->get_init_state_number()] == false)
&& "Env needs to have first turn!");
(void)sp;
assert(std::none_of(arena->edges().begin(), arena->edges().end(),
[&sp](const auto& e)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment