diff options
author | Damjan Marion <dmarion@me.com> | 2022-10-12 16:02:18 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2022-10-12 16:04:13 +0200 |
commit | dd298e804a25dbebc9e284b3b2d0dfd9bf674ad8 (patch) | |
tree | cd91568dc9f1947c04d97eb95e15ae06d5d0ec06 /src/vnet/ipfix-export/flow_report_classify.c | |
parent | 0f8f4351b03f9350a406ad1d63f97d1f4b59fec2 (diff) |
misc: fix issues reported by clang-15
Type: improvement
Change-Id: I3fbbda0378b72843ecd39a7e8592dedc9757793a
Signed-off-by: Damjan Marion <dmarion@me.com>
Diffstat (limited to 'src/vnet/ipfix-export/flow_report_classify.c')
-rw-r--r-- | src/vnet/ipfix-export/flow_report_classify.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/vnet/ipfix-export/flow_report_classify.c b/src/vnet/ipfix-export/flow_report_classify.c index ea6ba5cab58..7e9fcfc1a07 100644 --- a/src/vnet/ipfix-export/flow_report_classify.c +++ b/src/vnet/ipfix-export/flow_report_classify.c @@ -179,7 +179,6 @@ ipfix_classify_send_flows (flow_report_main_t *frm, ipfix_exporter_t *exp, tcpudp_header_t *tcpudp; udp_header_t *udp; int field_index; - u32 records_this_buffer; u16 new_l0, old_l0; ip_csum_t sum0; vlib_main_t *vm = frm->vlib_main; @@ -251,7 +250,6 @@ ipfix_classify_send_flows (flow_report_main_t *frm, ipfix_exporter_t *exp, next_offset = (u32) (((u8 *) (s + 1)) - (u8 *) tp); record_offset = next_offset; - records_this_buffer = 0; } field_index = 0; @@ -275,7 +273,6 @@ ipfix_classify_send_flows (flow_report_main_t *frm, ipfix_exporter_t *exp, sizeof (packets)); next_offset += sizeof (packets); } - records_this_buffer++; stream->sequence_number++; /* Next record will have the same size as this record */ |