Commit cdef3d69 authored by Maximilien Colange's avatar Maximilien Colange Committed by Alexandre Duret-Lutz
Browse files

Fix uninitialized value.

* spot/twaalgos/sccinfo.hh: initialize t_, and remove useless data from
  class scc_edges.
parent 7dfa0ec1
......@@ -103,7 +103,7 @@ namespace spot
scc_edge_iterator(state_iterator begin, state_iterator end,
tv_t* tv, sv_t* sv, Filter filt) noexcept
: pos_(begin), end_(end), tv_(tv), sv_(sv), filt_(filt)
: pos_(begin), end_(end), t_(0), tv_(tv), sv_(sv), filt_(filt)
if (pos_ == end_)
......@@ -162,7 +162,6 @@ namespace spot
state_iterator begin_;
state_iterator end_;
unsigned t_;
tv_t* tv_;
sv_t* sv_;
Filter filt_;
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