aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/buffer_funcs.c
diff options
context:
space:
mode:
authorJieqiang Wang <jieqiang.wang@arm.com>2023-07-24 16:52:06 +0800
committerDamjan Marion <dmarion@0xa5.net>2023-11-07 10:58:50 +0000
commit76d14b797c05aa5e7ac9aa9ee99e6b03ee0837db (patch)
treecd438051ace2e702cc479f5fc0207d9c947b4e02 /src/vlib/buffer_funcs.c
parente73c731ad8890d1b64c55e3e9dfb9fc8529624f9 (diff)
misc: silence -Wmaybe-uninitialized warnings
GCC 12 complains about such errors while the code itself looks good. Type: fix Signed-off-by: Jieqiang Wang <jieqiang.wang@arm.com> Change-Id: I021719fdbf7d9bd93a12eac76aeac8cbca13a810
Diffstat (limited to 'src/vlib/buffer_funcs.c')
-rw-r--r--src/vlib/buffer_funcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/buffer_funcs.c b/src/vlib/buffer_funcs.c
index f0e2add8457..d910b25afac 100644
--- a/src/vlib/buffer_funcs.c
+++ b/src/vlib/buffer_funcs.c
@@ -16,7 +16,7 @@ enqueue_one (vlib_main_t *vm, vlib_node_runtime_t *node,
vlib_frame_bitmap_t match_bmp;
vlib_frame_t *f;
u32 n_extracted, n_free;
- u32 *to, *to_aux;
+ u32 *to, *to_aux = 0;
f = vlib_get_next_frame_internal (vm, node, next_index, 0);