* iface/gspn/ltlgspn.cc: Fix a gcc warning in case assert() is

disabled.
This commit is contained in:
Alexandre Duret-Lutz 2004-08-10 10:33:18 +00:00
parent 79ef47dbf1
commit fb8618b708
2 changed files with 8 additions and 0 deletions

View file

@ -239,6 +239,9 @@ main(int argc, char **argv)
#endif
default:
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();