* spot/twaalgos/gtec/gtec.cc: Work around spurious warning.
This commit is contained in:
parent
00456e5211
commit
539d250587
1 changed files with 3 additions and 0 deletions
|
|
@ -459,6 +459,9 @@ namespace spot
|
||||||
auto i = ecs_->h.find(curr);
|
auto i = ecs_->h.find(curr);
|
||||||
assert(i != ecs_->h.end());
|
assert(i != ecs_->h.end());
|
||||||
assert(i->first == curr);
|
assert(i->first == curr);
|
||||||
|
// work around g++-14.2.0 spurious "potential null
|
||||||
|
// pointer dereference" warning.
|
||||||
|
SPOT_ASSUME(i != ecs_->h.end());
|
||||||
ecs_->root.rem().push_front(i->first);
|
ecs_->root.rem().push_front(i->first);
|
||||||
inc_depth();
|
inc_depth();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue