Fix dead assignment found by clang in test code
Change-Id: Ie78769bfd8034f6c2ee7d9e26a209d650cedb98d Reviewed-on: https://code.wireshark.org/review/1507 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
parent
a0b76c994c
commit
93619389ea
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ wmem_test_allocator_jumbo(wmem_allocator_type_t type, wmem_verify_func verify)
|
|||
ptr = (char*)wmem_alloc0(allocator, 4*1024*1024);
|
||||
|
||||
if (verify) (*verify)(allocator);
|
||||
wmem_free_all(allocator);
|
||||
wmem_free(allocator, ptr);
|
||||
wmem_gc(allocator);
|
||||
if (verify) (*verify)(allocator);
|
||||
|
||||
|
|
Loading…
Reference in a new issue