diff options
author | Evan Huus <eapache@gmail.com> | 2013-08-02 01:36:52 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-08-02 01:36:52 +0000 |
commit | c85ec68e58f7e6f00748e83437bd7a1fbfd60a54 (patch) | |
tree | 249ed4136bbebd1d0090125fe8300b99031b7a66 /epan/wmem/wmem_allocator_block.c | |
parent | 2b69003dc0a9a1db587b1d834dbb3361636bb9f7 (diff) | |
download | wireshark-c85ec68e58f7e6f00748e83437bd7a1fbfd60a54.tar.gz wireshark-c85ec68e58f7e6f00748e83437bd7a1fbfd60a54.tar.bz2 wireshark-c85ec68e58f7e6f00748e83437bd7a1fbfd60a54.zip |
Remove unnecessary null check.
svn path=/trunk/; revision=51110
Diffstat (limited to 'epan/wmem/wmem_allocator_block.c')
-rw-r--r-- | epan/wmem/wmem_allocator_block.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/wmem/wmem_allocator_block.c b/epan/wmem/wmem_allocator_block.c index 89aed5aab4..3df3d1a988 100644 --- a/epan/wmem/wmem_allocator_block.c +++ b/epan/wmem/wmem_allocator_block.c @@ -429,10 +429,6 @@ wmem_block_pop_master(wmem_block_allocator_t *allocator) chunk = allocator->master_head; - if (!chunk) { - return; - } - free_chunk = WMEM_GET_FREE(chunk); allocator->master_head = free_chunk->next; |