Commit 967f9e8c authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

fix some cppcheck errors

* src/twaalgos/hoa.cc, src/twaalgos/ltl2tgba_fm.cc: Remove some
useless declarations of iterators, as detected by cppcheck.
parent c829cbba
......@@ -144,7 +144,6 @@ namespace spot
void number_all_ap()
{
sup_map::iterator i;
bdd all = bddtrue;
for (auto& i: sup)
all &= bdd_support(i.first);
......
......@@ -157,7 +157,6 @@ namespace spot
~translate_dict()
{
fv_map::iterator i;
for (auto& i: next_map)
i.first->destroy();
dict->unregister_all_my_variables(this);
......@@ -387,7 +386,6 @@ namespace spot
std::ostream&
dump(std::ostream& os) const
{
fv_map::const_iterator fi;
os << "Next Variables:" << std::endl;
for (auto& fi: next_map)
{
......
Markdown is supported
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