From a1be626264f66af331d5a56699b66c16080d57d5 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Tue, 8 Feb 2022 13:28:55 +0000 Subject: [PATCH] text2pcap: Fix DeadStore found by Clang Analyzer text2pcap.c:476:13: warning: Value stored to 'pcap_link_type' is never read [deadcode.DeadStores] --- text2pcap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/text2pcap.c b/text2pcap.c index 0d6718d638..63ea93211c 100644 --- a/text2pcap.c +++ b/text2pcap.c @@ -473,7 +473,6 @@ parse_options(int argc, char *argv[], text_import_info_t * const info, wtap_dump case 'P': hdr_export_pdu = TRUE; - pcap_link_type = 252; info->payload = ws_optarg; break;