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:
Alexandre Duret-Lutz 2015-05-27 08:25:39 +02:00
parent b87f24d7c4
commit 3230b7c8aa

View file

@ -64,8 +64,8 @@
{
struct state_info
{
bool declared;
bool used;
bool declared = false;
bool used = false;
spot::location used_loc;
};
spot::hoa_aut_ptr h;