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:
parent
6d063e0190
commit
a1be626264
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue