aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2024-09-10 12:36:07 -0400
committerDamjan Marion <dmarion@0xa5.net>2024-09-11 14:34:34 +0000
commita8766ce2d3d0e24ed65c4ad07de1a23f5f8b1369 (patch)
treeab46d1badb23656c1c298a1f56393816142446ff
parent5b175eca2d6389bfb0c09839436df83cf8df334c (diff)
vlib: fix gcc 13.2.0 build failure on ubuntu 24.04
Type: fix Change-Id: I007d73d28633677395d4eb81534dbe2307b1a96f Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
-rw-r--r--src/vlib/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/buffer.c b/src/vlib/buffer.c
index 71fcfee2190..a7952d93c21 100644
--- a/src/vlib/buffer.c
+++ b/src/vlib/buffer.c
@@ -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;