From d222d9420dda1445179d7319483dc6b4107f3064 Mon Sep 17 00:00:00 2001 From: Gregory Lirent Date: Wed, 8 Jun 2022 10:53:52 +0300 Subject: [PATCH] Fix set (extra) find ret value --- src/set/extra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/set/extra.c b/src/set/extra.c index 6c841f6..8d899bb 100644 --- a/src/set/extra.c +++ b/src/set/extra.c @@ -28,7 +28,7 @@ _Bool libcdsb_vset_find(val_t* x, set_t* s, const void* v, vtype t, _Bool cut) { c = (cmp < 0) ? c->right : c->left; } - return rbnode_empty; + return false; }