* 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
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue