From 594f7074f73f9ef4b3aa2636f8be3c52ec9132c8 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Mon, 23 May 2016 23:04:50 +0200 Subject: ndpi_util: Value stored to 'fcs' is never read --- example/ndpi_util.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'example') diff --git a/example/ndpi_util.c b/example/ndpi_util.c index 93949c277..ae7383fbd 100644 --- a/example/ndpi_util.c +++ b/example/ndpi_util.c @@ -556,7 +556,6 @@ void ndpi_workflow_process_packet (struct ndpi_workflow * workflow, int llc_off; int pyld_eth_len = 0; int check; - u_int32_t fcs; u_int64_t time; u_int16_t ip_offset, ip_len, ip6_offset; u_int16_t frag_off = 0, vlan_id = 0; @@ -646,8 +645,6 @@ void ndpi_workflow_process_packet (struct ndpi_workflow * workflow, return; } - fcs = header->len - 4; - /* Calculate 802.11 header length (variable) */ wifi = (struct ndpi_wifi_header*)( packet + eth_offset + radio_len); fc = wifi->fc; -- cgit v1.2.3