Add (void) casts for variables used only in assert()s.

Report from Akim Demaille.

* src/ltlvisit/snf.cc, src/ta/taexplicit.cc, src/taalgos/tgba2ta.cc,
src/tgbaalgos/dupexp.cc, src/tgbaalgos/stutter.cc: Here.
This commit is contained in:
Alexandre Duret-Lutz 2015-02-06 11:57:27 +01:00
parent 78e63d0324
commit f2ba94f4d4
5 changed files with 7 additions and 2 deletions

View file

@ -1,6 +1,6 @@
// -*- coding: utf-8 -*-
// Copyright (C) 2010, 2011, 2012, 2013, 2014 Laboratoire de Recherche
// et Développement de l'Epita (LRDE).
// Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015 Laboratoire de
// Recherche et Développement de l'Epita (LRDE).
//
// This file is part of Spot, a model checking library.
//
@ -363,6 +363,7 @@ namespace spot
{
state_ta_explicit* is = add_state(artificial_initial_state);
assert(is == artificial_initial_state);
(void)is;
}
}