From 3626a7cf82428dbe01df443f6011fe3144266209 Mon Sep 17 00:00:00 2001 From: Mohsin Kazmi Date: Tue, 22 Feb 2022 11:42:35 +0000 Subject: ipfix-export: fix the warning message for uninitialized variable Type: fix Signed-off-by: Mohsin Kazmi Change-Id: I2b8b6a3b5a6df71e84ce2f15ef7117f390121c2f --- src/vnet/ipfix-export/flow_report.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vnet/ipfix-export') diff --git a/src/vnet/ipfix-export/flow_report.c b/src/vnet/ipfix-export/flow_report.c index e290973f900..9d21d8b046d 100644 --- a/src/vnet/ipfix-export/flow_report.c +++ b/src/vnet/ipfix-export/flow_report.c @@ -349,8 +349,8 @@ vnet_ipfix_exp_send_buffer (vlib_main_t *vm, ipfix_exporter_t *exp, vlib_frame_t *f; ipfix_set_header_t *s; ipfix_message_header_t *h; - ip4_header_t *ip4; - ip6_header_t *ip6; + ip4_header_t *ip4 = 0; + ip6_header_t *ip6 = 0; void *ip; udp_header_t *udp; int ip_len; -- cgit 1.2.3-korg