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

@ -398,6 +398,7 @@ namespace spot
// No acceptance here to preserve the state-based property.
i = a->new_transition(tmp, dst, one, 0U);
assert(i > num_transitions);
(void)i;
all -= one;
}
}