text2pcap: Fix DeadStore found by Clang Analyzer

text2pcap.c:476:13: warning: Value stored to 'pcap_link_type' is never read [deadcode.DeadStores]
This commit is contained in:
Alexis La Goutte 2022-02-08 13:28:55 +00:00 committed by A Wireshark GitLab Utility
parent 6d063e0190
commit a1be626264
1 changed files with 0 additions and 1 deletions

View File

@ -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;