pcapng(wiretap): Fix Dead Store found by Clang Analyzer

pcapng.c:2675:5: warning: Value stored to 'opt_cont_buf_len' is never read [deadcode.DeadStores]
This commit is contained in:
Alexis La Goutte 2021-09-05 15:03:45 +02:00 committed by Wireshark GitLab Utility
parent 203e082a50
commit 7740e9ae27
1 changed files with 0 additions and 1 deletions

View File

@ -2672,7 +2672,6 @@ pcapng_read_nflx_custom_block(FILE_T fh, pcapng_block_header_t *bh,
return FALSE;
}
opt_cont_buf_len = bh->block_total_length - MIN_NFLX_CB_SIZE;
wblock->rec->rec_type = REC_TYPE_CUSTOM_BLOCK;
wblock->rec->rec_header.custom_block_header.pen = PEN_NFLX;
/* "NFLX Custom Block" read fixed part */