aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2022-02-08 13:28:55 +0000
committerA Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2022-02-13 10:34:30 +0000
commita1be626264f66af331d5a56699b66c16080d57d5 (patch)
tree8d89bb16fc54188c7407e66445c46415372f410a /text2pcap.c
parent6d063e0190936be9d03dbae9cc85c5db7468f311 (diff)
text2pcap: Fix DeadStore found by Clang Analyzer
text2pcap.c:476:13: warning: Value stored to 'pcap_link_type' is never read [deadcode.DeadStores]
Diffstat (limited to 'text2pcap.c')
-rw-r--r--text2pcap.c1
1 files changed, 0 insertions, 1 deletions
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;