hoaparse: fix errors observed with gcc-snapshot
gcc version 6.0.0 20150516 (experimental) [trunk revision 223239] (Debian 20150516-1) * src/hoaparse/hoaparse.yy (state_info): Initialize used and declared, otherwise they are uninitialized after a vector resize.
This commit is contained in:
parent
b87f24d7c4
commit
3230b7c8aa
1 changed files with 2 additions and 2 deletions
|
|
@ -64,8 +64,8 @@
|
||||||
{
|
{
|
||||||
struct state_info
|
struct state_info
|
||||||
{
|
{
|
||||||
bool declared;
|
bool declared = false;
|
||||||
bool used;
|
bool used = false;
|
||||||
spot::location used_loc;
|
spot::location used_loc;
|
||||||
};
|
};
|
||||||
spot::hoa_aut_ptr h;
|
spot::hoa_aut_ptr h;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue