From: Donald Sharp Date: Thu, 13 Feb 2020 13:44:40 +0000 (-0500) Subject: babeld: GCC complaining about no return in non-void function X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=d4caff99f341dba7e3f7601a87704445582aa368;p=mirror%2Ffrr.git 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 (cherry picked from commit be04d1487f975e4044c2c07089722dab7f5afbff) --- diff --git a/babeld/babeld.c b/babeld/babeld.c index 6ad004a4a4..07bae4f660 100644 --- a/babeld/babeld.c +++ b/babeld/babeld.c @@ -411,6 +411,7 @@ babel_main_loop(struct thread *thread) } assert(0); /* this line should never be reach */ + return 0; } static void