summaryrefslogtreecommitdiffstats
path: root/lib/agg_table.h
diff options
context:
space:
mode:
authorF. Aragon <paco@voltanet.io>2018-11-20 16:30:20 +0100
committerF. Aragon <paco@voltanet.io>2018-11-20 16:32:25 +0100
commitd90b788e38db54ff6392bb6999f1bc9434bbba61 (patch)
tree2ea3efbf5300742d6ed2b8c0ef793c31ad4269fc /lib/agg_table.h
parentMerge pull request #3358 from opensourcerouting/libtool-cfg-warn (diff)
downloadfrr-d90b788e38db54ff6392bb6999f1bc9434bbba61.tar.xz
frr-d90b788e38db54ff6392bb6999f1bc9434bbba61.zip
bgpd isisd lib: fix return on void functions
ISO C forbids ‘return’ with expression, in function returning void. Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'lib/agg_table.h')
-rw-r--r--lib/agg_table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/agg_table.h b/lib/agg_table.h
index a703969fd..dc2ff03b6 100644
--- a/lib/agg_table.h
+++ b/lib/agg_table.h
@@ -58,7 +58,7 @@ static inline struct agg_node *agg_lock_node(struct agg_node *node)
static inline void agg_unlock_node(struct agg_node *node)
{
- return route_unlock_node(agg_node_to_rnode(node));
+ route_unlock_node(agg_node_to_rnode(node));
}
static inline void agg_set_table_info(struct agg_table *atable, void *data)