summaryrefslogtreecommitdiff
path: root/gcc/alloc-pool.h
diff options
context:
space:
mode:
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2015-06-01 13:01:12 +0000
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2015-06-01 13:01:12 +0000
commitc50b643678eab41dcbb9b52c615421dd1664e3ef (patch)
tree659ac01f67277bae77279922f7996567137ed4df /gcc/alloc-pool.h
parent18b6b490a9359b5bc764f85b186a602d398ca4dd (diff)
downloadgcc-c50b643678eab41dcbb9b52c615421dd1664e3ef.tar.gz
Small pool-allocator fallback.
* alloc-pool.h: Add ATTRIBUTE_UNUSED for a function local variabled. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223974 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alloc-pool.h')
-rw-r--r--gcc/alloc-pool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/alloc-pool.h b/gcc/alloc-pool.h
index 65087265527..96a1342b9fa 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