reasemble_test: fix issue found by PVS Studio (V519)
The 'fd_head' variable is assigned values twice successively. Change-Id: Ia30f4135f35d5ece369b9648db3ebe5a13e8ccaa Reviewed-on: https://code.wireshark.org/review/27592 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
c4ba94f398
commit
4d711c92b1
|
@ -509,7 +509,7 @@ test_fragment_add_seq_partial_reassembly(void)
|
|||
fragment_set_partial_reassembly(&test_reassembly_table, &pinfo, 12, NULL);
|
||||
|
||||
pinfo.num = 5;
|
||||
fd_head=fragment_add_seq(&test_reassembly_table, tvb, 0, &pinfo, 12, NULL,
|
||||
fragment_add_seq(&test_reassembly_table, tvb, 0, &pinfo, 12, NULL,
|
||||
3, 40, FALSE, 0);
|
||||
|
||||
fd_head=fragment_get(&test_reassembly_table, &pinfo, 12, NULL);
|
||||
|
|
Loading…
Reference in New Issue