Fix a g++ warning about possibly uninitialized variable.

* src/ltlvisit/simplify.cc (simplify_visitor::visit(multop)):
Initialize `ri' to kill a warning.
This commit is contained in:
Alexandre Duret-Lutz 2011-12-08 10:12:43 +01:00
parent dd52768932
commit 0536cdfb9b

View file

@ -1965,7 +1965,7 @@ namespace spot
// do not accept [*0]
// - 0 if more than one ri accept [*0]
{
formula* ri;
formula* ri = 0;
unsigned nonempty = 0;
for (unsigned j = 0; j < rs; ++j)
{