vlib: fix gcc 13.2.0 build failure on ubuntu 24.04 59/41559/2
authorDave Wallace <[email protected]>
Tue, 10 Sep 2024 16:36:07 +0000 (12:36 -0400)
committerDamjan Marion <[email protected]>
Wed, 11 Sep 2024 14:34:34 +0000 (14:34 +0000)
Type: fix

Change-Id: I007d73d28633677395d4eb81534dbe2307b1a96f
Signed-off-by: Dave Wallace <[email protected]>
src/vlib/buffer.c

index 71fcfee..a7952d9 100644 (file)
@@ -826,7 +826,7 @@ clib_error_t *
 vlib_buffer_main_init (struct vlib_main_t * vm)
 {
   vlib_buffer_main_t *bm;
-  clib_error_t *err;
+  clib_error_t *err = 0;
   clib_bitmap_t *bmp = 0, *bmp_has_memory = 0;
   u32 numa_node;
   vlib_buffer_pool_t *bp;