From 53a394720e0f7e0495291a9d828879eebd4ac167 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Mon, 6 May 2019 18:20:16 +0000 Subject: [PATCH] lib: fix false compiler warning Signed-off-by: Quentin Young --- lib/table.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/table.h b/lib/table.h index 14be7ab656..eefd992546 100644 --- a/lib/table.h +++ b/lib/table.h @@ -298,6 +298,8 @@ static inline struct route_node *route_table_iter_next(route_table_iter_t *iter) return NULL; default: + /* Suppress uninitialized variable warning */ + node = NULL; assert(0); } -- 2.39.5