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

ltsmin: workaround spurious gcc-snapshot warning

* spot/ltsmin/ Add an assert.
parent 413eab1d
......@@ -1027,6 +1027,8 @@ namespace spot
auto d = std::make_shared<spins_interface>();
assert(d); // Superfluous, but Debian's GCC 7 snapshot 20161207-1 warns
// about potential null pointer dereference on the next line.
d->handle = 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