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
[libcds.git]
/
cds
/
opt
/
buffer.h
diff --git
a/cds/opt/buffer.h
b/cds/opt/buffer.h
index 75821579f9641c820f48cb53bb1e6ea4f5acacbf..d80efc918843f34936ef4c960922f4fef7f983c9 100644
(file)
--- a/
cds/opt/buffer.h
+++ b/
cds/opt/buffer.h
@@
-78,6
+78,7
@@
namespace cds { namespace opt {
*/
static_buffer( size_t nCapacity )
{
+ CDS_UNUSED( nCapacity );
// Capacity must be power of 2
static_assert( !c_bExp2 || (c_nCapacity & (c_nCapacity - 1)) == 0, "Capacity must be power of two");
//assert( c_nCapacity == nCapacity );