summaryrefslogtreecommitdiff
path: root/lib/openbsd-tree.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2020-02-09 14:21:56 +0200
committerDonatas Abraitis <donatas.abraitis@gmail.com>2020-02-09 14:21:56 +0200
commit95f7965d09a6eb4447c0de5a679114492cac3f37 (patch)
tree1bfa78792b4f62934a483104e921f0bff5809590 /lib/openbsd-tree.c
parent5f1032f291b8581d44570047f2d063bb6daea983 (diff)
*: Remove parenthesis on return for constants
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'lib/openbsd-tree.c')
-rw-r--r--lib/openbsd-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/openbsd-tree.c b/lib/openbsd-tree.c
index ddcc59fa8f..98d2e155e3 100644
--- a/lib/openbsd-tree.c
+++ b/lib/openbsd-tree.c
@@ -431,7 +431,7 @@ void *_rb_insert(const struct rb_type *t, struct rbt_tree *rbt, void *elm)
rbe_insert_color(t, rbt, rbe);
- return (NULL);
+ return NULL;
}
/* Finds the node with the same key as elm */
@@ -453,7 +453,7 @@ void *_rb_find(const struct rb_type *t, const struct rbt_tree *rbt,
return (node);
}
- return (NULL);
+ return NULL;
}
/* Finds the first node greater than or equal to the search key */