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:
parent
dd52768932
commit
0536cdfb9b
1 changed files with 1 additions and 1 deletions
|
|
@ -1965,7 +1965,7 @@ namespace spot
|
||||||
// do not accept [*0]
|
// do not accept [*0]
|
||||||
// - 0 if more than one ri accept [*0]
|
// - 0 if more than one ri accept [*0]
|
||||||
{
|
{
|
||||||
formula* ri;
|
formula* ri = 0;
|
||||||
unsigned nonempty = 0;
|
unsigned nonempty = 0;
|
||||||
for (unsigned j = 0; j < rs; ++j)
|
for (unsigned j = 0; j < rs; ++j)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue