diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2020-02-10 18:49:06 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-10 18:49:06 -0300 |
| commit | 4b08a72ed109220fa2ae43956b1e51f299b02471 (patch) | |
| tree | debf6789280ad8a235573a39cb6f0c416d53575c /lib/openbsd-tree.c | |
| parent | c2c4b412fa116cddbb7c6734fd8c4c7281c566f2 (diff) | |
| parent | 95f7965d09a6eb4447c0de5a679114492cac3f37 (diff) | |
Merge pull request #5763 from ton31337/fix/return_without_parent
*: Remove parenthesis on return for constants
Diffstat (limited to 'lib/openbsd-tree.c')
| -rw-r--r-- | lib/openbsd-tree.c | 4 |
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 */ |
