Cleanup: harmless mistake in rangetree
authorCampbell Barton <ideasman42@gmail.com>
Sat, 19 Nov 2016 22:11:26 +0000 (09:11 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 19 Nov 2016 22:11:26 +0000 (09:11 +1100)
extern/rangetree/intern/range_tree.c

index 4c81036..77496e3 100644 (file)
@@ -808,7 +808,7 @@ bool range_tree_uint_retake(RangeTreeUInt *rt, const uint value)
 
 uint range_tree_uint_take_any(RangeTreeUInt *rt)
 {
-       Node *node = node = rt->list.first;
+       Node *node = rt->list.first;
        uint value = node->min;
        if (value == node->max) {
                rt_node_remove(rt, node);