mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 03:55:20 +00:00
lib: confd: fix non-void return-type warning
Signed-off-by: Ruslan Babayev <ruslan@babayev.com>
This commit is contained in:
parent
722e430fd5
commit
7f88892d96
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user