mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-03 01:51:02 +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->id = id;
|
||||||
node->sblock = sblock;
|
node->sblock = sblock;
|
||||||
node->graph = func->graph;
|
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;
|
return node;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue