diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-02-13 14:44:40 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-02-13 14:44:40 +0100 |
commit | be04d1487f975e4044c2c07089722dab7f5afbff (patch) | |
tree | bd95c41cc50542b0d74ef89a9c6a11b0c8d366da /babeld | |
parent | Merge pull request #5798 from donaldsharp/bgp_packet_reformat (diff) | |
download | frr-be04d1487f975e4044c2c07089722dab7f5afbff.tar.xz frr-be04d1487f975e4044c2c07089722dab7f5afbff.zip |
babeld: GCC complaining about no return in non-void function
The babel_main_loop function did not have a return for
a non-void function. For some reason gcc is starting to complain
about this now.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'babeld')
-rw-r--r-- | babeld/babeld.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/babeld/babeld.c b/babeld/babeld.c index 71bab2fcb..83a2a3137 100644 --- a/babeld/babeld.c +++ b/babeld/babeld.c @@ -409,6 +409,7 @@ babel_main_loop(struct thread *thread) } assert(0); /* this line should never be reach */ + return 0; } static void |