* src/sanity/style.test: Diagnose superfluous constructs such

as `if (x) delete x;'.
* iface/gspn/gspn.cc, iface/gspn/ssp.cc, src/ltlvisit/basicreduce.cc,
src/tgba/tgba.cc, src/tgba/tgbaproduct.cc, src/tgbaalgos/magic.cc,
src/tgbatest/ltl2tgba.cc: Remove such constructs.
This commit is contained in:
Alexandre Duret-Lutz 2004-10-29 14:29:02 +00:00
parent 4654da9ab5
commit 55014e9dcc
9 changed files with 62 additions and 71 deletions

View file

@ -81,8 +81,7 @@ namespace spot
tgba_succ_iterator_product::~tgba_succ_iterator_product()
{
delete left_;
if (right_)
delete right_;
delete right_;
}
void