Fix a g++-4.7 warning about a variable used only in an assert().

* src/tgbaalgos/weight.cc (inc_weight_handler)
(dec_weight_handler): Remove these assertions that require the
loop the be completed, and use break to exit ASAP.
This commit is contained in:
Alexandre Duret-Lutz 2011-11-11 22:36:38 +01:00
parent 9130d6f58c
commit 2b5956c2d4
2 changed files with 12 additions and 6 deletions

View file

@ -1,3 +1,11 @@
2011-11-11 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Fix a g++-4.7 warning about a variable used only in an assert().
* src/tgbaalgos/weight.cc (inc_weight_handler)
(dec_weight_handler): Remove these assertions that require the
loop the be completed, and use break to exit ASAP.
2011-11-08 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Allow neverclaim guards of the form `!(x)' or `! (x)'.