* iface/gspn/ltlgspn.cc: Fix a gcc warning in case assert() is
disabled.
This commit is contained in:
parent
79ef47dbf1
commit
fb8618b708
2 changed files with 8 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
||||||
|
2004-08-10 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||||
|
|
||||||
|
* iface/gspn/ltlgspn.cc: Fix a gcc warning in case assert() is
|
||||||
|
disabled.
|
||||||
|
|
||||||
2004-08-09 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
2004-08-09 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||||
|
|
||||||
* src/ltlvisit/apcollect.cc, src/ltlvisit/apcollect.hh: New files,
|
* src/ltlvisit/apcollect.cc, src/ltlvisit/apcollect.hh: New files,
|
||||||
|
|
|
||||||
|
|
@ -239,6 +239,9 @@ main(int argc, char **argv)
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
assert(0);
|
assert(0);
|
||||||
|
// Assign something so that GCC does not complains
|
||||||
|
// EC might be used uninitialized if assert is disabled.
|
||||||
|
ec = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool res = ec->check();
|
bool res = ec->check();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue