Commit 3230b7c8 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

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.
parent b87f24d7
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment