diff options
author | Ruslan Babayev <ruslan@babayev.com> | 2021-10-12 05:16:21 +0200 |
---|---|---|
committer | Ruslan Babayev <ruslan@babayev.com> | 2021-11-12 08:05:46 +0100 |
commit | 7f88892d96d56828e6fbf141a0482f48c3491451 (patch) | |
tree | ccde5b68fa8cd3acb8241954c1b1ea5b01b4f553 /lib/northbound_confd.c | |
parent | lib: confd: fix compilation broken with libyang2 (diff) | |
download | frr-7f88892d96d56828e6fbf141a0482f48c3491451.tar.xz frr-7f88892d96d56828e6fbf141a0482f48c3491451.zip |
lib: confd: fix non-void return-type warning
Signed-off-by: Ruslan Babayev <ruslan@babayev.com>
Diffstat (limited to 'lib/northbound_confd.c')
-rw-r--r-- | lib/northbound_confd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/northbound_confd.c b/lib/northbound_confd.c index 0d8f34828..d477062b7 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) |