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:
Alexis La Goutte 2018-05-16 08:23:55 +02:00 committed by Anders Broman
parent c4ba94f398
commit 4d711c92b1
1 changed files with 1 additions and 1 deletions

View File

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