remove condition that is always false after recent fix feature/tree_add

Tue, 20 Aug 2024 13:53:18 +0200

author
Mike Becker <universe@uap-core.de>
date
Tue, 20 Aug 2024 13:53:18 +0200
branch
feature/tree_add
changeset 870
af0092d8789a
parent 869
9e7f0db6a725
child 871
e29c1f96646d

remove condition that is always false after recent fix

src/tree.c file | annotate | diff | comparison | revisions
--- a/src/tree.c	Tue Aug 20 13:36:56 2024 +0200
+++ b/src/tree.c	Tue Aug 20 13:53:18 2024 +0200
@@ -194,7 +194,7 @@
             }
 
             // remember this node in case no child is suitable
-            if (ret_candidate < 0 || ret < ret_candidate) {
+            if (ret < ret_candidate) {
                 candidate = (void *) node;
                 ret_candidate = ret;
             }

mercurial