Fix a spurious g++ warning observed on Darwin builds.
* src/tgba/taatgba.cc (taa_succ_iterator::taa_succ_iterator): Initialize iterator i to silence a spurious g++ warning on Darwin.
This commit is contained in:
parent
9119ffe9bc
commit
baf1288dc6
2 changed files with 9 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2009, 2010 Laboratoire de Recherche et Développement
|
||||
// Copyright (C) 2009, 2010, 2011 Laboratoire de Recherche et Développement
|
||||
// de l'Epita (LRDE)
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
|
|
@ -245,7 +245,7 @@ namespace spot
|
|||
|
||||
// If no contradiction, then look for another transition to
|
||||
// merge with the new one.
|
||||
seen_map::iterator i;
|
||||
seen_map::iterator i = seen_.end(); // Initialize to silent a g++ warning.
|
||||
std::vector<taa_tgba::transition*>::iterator j;
|
||||
if (t->condition != bddfalse)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue