From 7f88892d96d56828e6fbf141a0482f48c3491451 Mon Sep 17 00:00:00 2001 From: Ruslan Babayev Date: Mon, 11 Oct 2021 20:16:21 -0700 Subject: [PATCH] lib: confd: fix non-void return-type warning Signed-off-by: Ruslan Babayev --- lib/northbound_confd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/northbound_confd.c b/lib/northbound_confd.c index 0d8f348288..d477062b74 100644 --- a/lib/northbound_confd.c +++ b/lib/northbound_confd.c @@ -1194,6 +1194,8 @@ static int frr_confd_dp_ctl_read(struct thread *thread) thread_add_read(master, frr_confd_dp_ctl_read, dctx, fd, &t_dp_ctl); frr_confd_dp_read(dctx, fd); + + return 0; } static int frr_confd_dp_worker_read(struct thread *thread) @@ -1204,6 +1206,8 @@ static int frr_confd_dp_worker_read(struct thread *thread) thread_add_read(master, frr_confd_dp_worker_read, dctx, fd, &t_dp_worker); frr_confd_dp_read(dctx, fd); + + return 0; } static int frr_confd_subscribe_state(const struct lysc_node *snode, void *arg)