summaryrefslogtreecommitdiffstats
path: root/src/server/Buffer.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-23 22:05:51 +0200
committerDavid Robillard <d@drobilla.net>2018-09-23 22:05:51 +0200
commit407099d7a30d01799824c7d4f341e0095e752919 (patch)
treedfbfd05e00ebf98c625fb00c7bc2075077273221 /src/server/Buffer.cpp
parente0e437c0fd970103685db2f1d0c83a9c461ad87f (diff)
downloadingen-fix-unused-parameter-warnings.tar.gz
ingen-fix-unused-parameter-warnings.tar.bz2
ingen-fix-unused-parameter-warnings.zip
WIP: Fix unused parameter warningsfix-unused-parameter-warnings
Diffstat (limited to 'src/server/Buffer.cpp')
-rw-r--r--src/server/Buffer.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/server/Buffer.cpp b/src/server/Buffer.cpp
index eef594a3..fa59fe19 100644
--- a/src/server/Buffer.cpp
+++ b/src/server/Buffer.cpp
@@ -44,8 +44,7 @@ Buffer::Buffer(BufferFactory& bufs,
LV2_URID type,
LV2_URID value_type,
uint32_t capacity,
- bool external,
- void* buf)
+ bool external)
: _factory(bufs)
, _next(nullptr)
, _buf(external ? nullptr : aligned_alloc(capacity))
@@ -263,7 +262,7 @@ Buffer::peak(const RunContext& context) const
}
void
-Buffer::prepare_write(RunContext& context)
+Buffer::prepare_write(RunContext&)
{
if (_type == _factory.uris().atom_Sequence) {
LV2_Atom* atom = get<LV2_Atom>();
@@ -275,7 +274,7 @@ Buffer::prepare_write(RunContext& context)
}
void
-Buffer::prepare_output_write(RunContext& context)
+Buffer::prepare_output_write(RunContext&)
{
if (_type == _factory.uris().atom_Sequence) {
LV2_Atom* atom = get<LV2_Atom>();