]> git.proxmox.com Git - mirror_frr.git/commit - zebra/rt_socket.c
zebra: Having one goto in a function to just return is silly
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 15 Jan 2019 12:26:00 +0000 (07:26 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 26 Jan 2019 01:14:38 +0000 (20:14 -0500)
commite677d1094573649dcea181dad91bf0d0fb40726a
treeb8d019192e761045eeaaacf3c8687f3254915c8d
parentd57e451387215a2667e07f691494694d14dd5132
zebra: Having one goto in a function to just return is silly

Just return right there, goto's are useful if you have common
code that needs to be cleaned up before exiting this function,
of which this function has none and there is only one goto.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/rt_socket.c