Small pool-allocator fallback.
* alloc-pool.h: Add ATTRIBUTE_UNUSED for a function local variabled. From-SVN: r223974
This commit is contained in:
parent
fdc5c392fe
commit
c547dbce4a
@ -1,3 +1,8 @@
|
||||
2015-06-01 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* alloc-pool.h: Add ATTRIBUTE_UNUSED for
|
||||
a function local variable.
|
||||
|
||||
2015-06-01 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* alloc-pool.c (create_alloc_pool): Remove.
|
||||
|
@ -359,7 +359,7 @@ pool_allocator<T>::remove (T *object)
|
||||
gcc_checking_assert (m_initialized);
|
||||
|
||||
allocation_pool_list *header;
|
||||
int size;
|
||||
int size ATTRIBUTE_UNUSED;
|
||||
size = m_elt_size - offsetof (allocation_object<T>, u.data);
|
||||
|
||||
#ifdef ENABLE_CHECKING
|
||||
|
Loading…
x
Reference in New Issue
Block a user