diff options
author | Martin Liska <mliska@suse.cz> | 2015-06-01 15:01:12 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2015-06-01 13:01:12 +0000 |
commit | c547dbce4aa51743690c6e7270cf99098c89ba6a (patch) | |
tree | 659ac01f67277bae77279922f7996567137ed4df /gcc/alloc-pool.h | |
parent | fdc5c392fe281f1251e0836409c05f940c3393e4 (diff) | |
download | gcc-c547dbce4aa51743690c6e7270cf99098c89ba6a.zip gcc-c547dbce4aa51743690c6e7270cf99098c89ba6a.tar.gz gcc-c547dbce4aa51743690c6e7270cf99098c89ba6a.tar.bz2 |
Small pool-allocator fallback.
* alloc-pool.h: Add ATTRIBUTE_UNUSED for
a function local variabled.
From-SVN: r223974
Diffstat (limited to 'gcc/alloc-pool.h')
-rw-r--r-- | gcc/alloc-pool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/alloc-pool.h b/gcc/alloc-pool.h index 6508726..96a1342 100644 --- a/gcc/alloc-pool.h +++ b/gcc/alloc-pool.h @@ -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 |