Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
f0416b3f
Commit
f0416b3f
authored
Dec 10, 2016
by
Alexandre Duret-Lutz
Browse files
ltsmin: workaround spurious gcc-snapshot warning
* spot/ltsmin/ltsmin.cc: Add an assert.
parent
413eab1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
spot/ltsmin/ltsmin.cc
View file @
f0416b3f
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment