]> git.ipfire.org Git - people/ms/libloc.git/commit
tree: Don't check if we need to fill the stack
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 6 Mar 2024 22:46:44 +0000 (22:46 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 6 Mar 2024 22:46:44 +0000 (22:46 +0000)
commit98f1e76c56757b84d3de5f34471de096a8f41f26
tree3c6bbae6412a5624ebd5cab8b3edff363e34b3ee
parente5e53b597033d1884f69a3eebac473b4b4695828
tree: Don't check if we need to fill the stack

If the stack is empty, the for loop won't run and we will straight go to
where we push the network onto the stack.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/network-tree.c