summaryrefslogtreecommitdiffstats
path: root/babeld
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-02-13 14:44:40 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-02-13 14:44:40 +0100
commitbe04d1487f975e4044c2c07089722dab7f5afbff (patch)
treebd95c41cc50542b0d74ef89a9c6a11b0c8d366da /babeld
parentMerge pull request #5798 from donaldsharp/bgp_packet_reformat (diff)
downloadfrr-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.c1
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