projects
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove 'unused vars' warnings
[libcds.git]
/
cds
/
memory
/
vyukov_queue_pool.h
diff --git
a/cds/memory/vyukov_queue_pool.h
b/cds/memory/vyukov_queue_pool.h
index f7c3ceb578a1192be0caa9336e4f18f18dac70ce..663f1b8d65b9ed6cadba66dac172cd35bf80399e 100644
(file)
--- a/
cds/memory/vyukov_queue_pool.h
+++ b/
cds/memory/vyukov_queue_pool.h
@@
-439,6
+439,7
@@
namespace cds { namespace memory {
value_type * allocate( size_t n )
{
assert( n == 1 );
+ CDS_UNUSED( n );
value_type * p = m_Queue.pop();
if ( p ) {
@@
-459,6
+460,7
@@
namespace cds { namespace memory {
void deallocate( value_type * p, size_t n )
{
assert( n == 1 );
+ CDS_UNUSED( n );
if ( p ) {
assert( from_pool( p ));