]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: fix false compiler warning
authorQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 6 May 2019 18:20:16 +0000 (18:20 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 29 May 2019 18:02:57 +0000 (18:02 +0000)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/table.h

index 14be7ab65668216e1dd899696a76ca835c909189..eefd992546a5614e2b10e6ac9030d794452e411e 100644 (file)
@@ -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);
        }