mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-23 10:50:58 +00:00
Mark all nodes as unreachable.
flow_build_dfst() marks a reacable node as such by setting the node's dfn to a value >= 0.
This commit is contained in:
parent
32556b7210
commit
9d35ca607f
1 changed files with 3 additions and 0 deletions
|
@ -1063,6 +1063,9 @@ flow_make_node (sblock_t *sblock, int id, function_t *func)
|
|||
node->id = id;
|
||||
node->sblock = sblock;
|
||||
node->graph = func->graph;
|
||||
// Mark the node as unreachable. flow_build_dfst() will mark reachable
|
||||
// nodes with a value >= 0
|
||||
node->dfn = -1;
|
||||
return node;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue