diff options
Diffstat (limited to 'src/include/fst/visit.h')
-rw-r--r-- | src/include/fst/visit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/fst/visit.h b/src/include/fst/visit.h index 31a00a8..a02d86a 100644 --- a/src/include/fst/visit.h +++ b/src/include/fst/visit.h @@ -166,7 +166,8 @@ void Visit(const Fst<Arc> &fst, V *visitor, Q *queue, ArcFilter filter) { // Finds next tree root for (root = root == start ? 0 : root + 1; root < nstates && state_status[root] != kWhiteState; - ++root); + ++root) { + } // Check for a state beyond the largest known state if (!expanded && root == nstates) { |