diff options
author | David Robillard <d@drobilla.net> | 2019-12-08 19:34:41 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-08 20:59:06 +0100 |
commit | 4257d61b3622b1fe0ed8d67d14c6b204661a82d3 (patch) | |
tree | 1b503cadbbe7781b1cbf515fd4ce975f9ba815f5 /src/server/events | |
parent | 3be84c23321551588c023a648344f362af2740b4 (diff) | |
download | ingen-4257d61b3622b1fe0ed8d67d14c6b204661a82d3.tar.gz ingen-4257d61b3622b1fe0ed8d67d14c6b204661a82d3.tar.bz2 ingen-4257d61b3622b1fe0ed8d67d14c6b204661a82d3.zip |
Cleanup: Remove unused parameter names
Diffstat (limited to 'src/server/events')
-rw-r--r-- | src/server/events/Copy.cpp | 6 | ||||
-rw-r--r-- | src/server/events/CreateBlock.cpp | 2 | ||||
-rw-r--r-- | src/server/events/CreatePort.cpp | 2 | ||||
-rw-r--r-- | src/server/events/Get.cpp | 2 | ||||
-rw-r--r-- | src/server/events/Mark.cpp | 2 | ||||
-rw-r--r-- | src/server/events/Move.cpp | 2 | ||||
-rw-r--r-- | src/server/events/SetPortValue.cpp | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/src/server/events/Copy.cpp b/src/server/events/Copy.cpp index a8e08924..5418af4b 100644 --- a/src/server/events/Copy.cpp +++ b/src/server/events/Copy.cpp @@ -140,7 +140,7 @@ ends_with(const std::string& str, const std::string& end) } bool -Copy::engine_to_filesystem(PreProcessContext& ctx) +Copy::engine_to_filesystem(PreProcessContext&) { // Ensure source is a graph SPtr<GraphImpl> graph = dynamic_ptr_cast<GraphImpl>(_old_block); @@ -167,7 +167,7 @@ Copy::engine_to_filesystem(PreProcessContext& ctx) } bool -Copy::filesystem_to_engine(PreProcessContext& ctx) +Copy::filesystem_to_engine(PreProcessContext&) { if (!_engine.world().parser()) { return Event::pre_process_done(Status::INTERNAL_ERROR); @@ -193,7 +193,7 @@ Copy::filesystem_to_engine(PreProcessContext& ctx) } void -Copy::execute(RunContext& context) +Copy::execute(RunContext&) { if (_block && _compiled_graph) { _parent->set_compiled_graph(std::move(_compiled_graph)); diff --git a/src/server/events/CreateBlock.cpp b/src/server/events/CreateBlock.cpp index e8816954..4b48cfde 100644 --- a/src/server/events/CreateBlock.cpp +++ b/src/server/events/CreateBlock.cpp @@ -156,7 +156,7 @@ CreateBlock::pre_process(PreProcessContext& ctx) } void -CreateBlock::execute(RunContext& context) +CreateBlock::execute(RunContext&) { if (_status == Status::SUCCESS && _compiled_graph) { _graph->set_compiled_graph(std::move(_compiled_graph)); diff --git a/src/server/events/CreatePort.cpp b/src/server/events/CreatePort.cpp index d1b4f114..04e9bf22 100644 --- a/src/server/events/CreatePort.cpp +++ b/src/server/events/CreatePort.cpp @@ -88,7 +88,7 @@ CreatePort::CreatePort(Engine& engine, } bool -CreatePort::pre_process(PreProcessContext& ctx) +CreatePort::pre_process(PreProcessContext&) { if (_port_type == PortType::UNKNOWN) { return Event::pre_process_done(Status::UNKNOWN_TYPE, _path); diff --git a/src/server/events/Get.cpp b/src/server/events/Get.cpp index 7bb6fd2f..2335c09f 100644 --- a/src/server/events/Get.cpp +++ b/src/server/events/Get.cpp @@ -48,7 +48,7 @@ Get::Get(Engine& engine, {} bool -Get::pre_process(PreProcessContext& ctx) +Get::pre_process(PreProcessContext&) { std::lock_guard<Store::Mutex> lock(_engine.store()->mutex()); diff --git a/src/server/events/Mark.cpp b/src/server/events/Mark.cpp index 314805f5..07beb39f 100644 --- a/src/server/events/Mark.cpp +++ b/src/server/events/Mark.cpp @@ -75,7 +75,7 @@ Mark::pre_process(PreProcessContext& ctx) } void -Mark::execute(RunContext& context) +Mark::execute(RunContext&) { for (auto& g : _compiled_graphs) { g.first->set_compiled_graph(std::move(g.second)); diff --git a/src/server/events/Move.cpp b/src/server/events/Move.cpp index 857be189..f6a39f1f 100644 --- a/src/server/events/Move.cpp +++ b/src/server/events/Move.cpp @@ -41,7 +41,7 @@ Move::Move(Engine& engine, } bool -Move::pre_process(PreProcessContext& ctx) +Move::pre_process(PreProcessContext&) { std::lock_guard<Store::Mutex> lock(_engine.store()->mutex()); diff --git a/src/server/events/SetPortValue.cpp b/src/server/events/SetPortValue.cpp index 02f3f66b..2eecf9ce 100644 --- a/src/server/events/SetPortValue.cpp +++ b/src/server/events/SetPortValue.cpp @@ -54,7 +54,7 @@ SetPortValue::SetPortValue(Engine& engine, } bool -SetPortValue::pre_process(PreProcessContext& ctx) +SetPortValue::pre_process(PreProcessContext&) { ingen::URIs& uris = _engine.world().uris(); if (_port->is_output()) { |