diff options
Diffstat (limited to 'src/include/fst/dfs-visit.h')
-rw-r--r-- | src/include/fst/dfs-visit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/fst/dfs-visit.h b/src/include/fst/dfs-visit.h index b47c78d..4d93a39 100644 --- a/src/include/fst/dfs-visit.h +++ b/src/include/fst/dfs-visit.h @@ -177,7 +177,8 @@ void DfsVisit(const Fst<Arc> &fst, V *visitor, ArcFilter filter) { // Find next tree root for (root = root == start ? 0 : root + 1; root < nstates && state_color[root] != kDfsWhite; - ++root); + ++root) { + } // Check for a state beyond the largest known state if (!expanded && root == nstates) { |