Fix more errors reported by Clang.

* src/tgbaalgos/reducerun.hh (tgba_run): Predeclare as a struct
since this is what it is.
* src/tgbatest/randtgba.cc (main): Avoid using "i" with two
different type in the same loop.
This commit is contained in:
Alexandre Duret-Lutz 2010-11-27 10:21:44 +01:00
parent 0d9d0b08ec
commit 019c85dff6
3 changed files with 18 additions and 7 deletions

View file

@ -1,3 +1,5 @@
// Copyright (C) 2010 Laboratoire de Recherche et Developpement de
// l'Epita.
// Copyright (C) 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
// et Marie Curie.
@ -25,7 +27,7 @@
namespace spot
{
class tgba;
class tgba_run;
struct tgba_run;
/// \brief Reduce an accepting run.
/// \ingroup tgba_run