diff options
author | David Robillard <d@drobilla.net> | 2018-09-23 22:05:51 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-23 22:05:51 +0200 |
commit | 407099d7a30d01799824c7d4f341e0095e752919 (patch) | |
tree | dfbfd05e00ebf98c625fb00c7bc2075077273221 /src/server/events | |
parent | e0e437c0fd970103685db2f1d0c83a9c461ad87f (diff) | |
download | ingen-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/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/Get.hpp | 4 | ||||
-rw-r--r-- | src/server/events/Mark.cpp | 2 | ||||
-rw-r--r-- | src/server/events/Move.cpp | 4 | ||||
-rw-r--r-- | src/server/events/SetPortValue.cpp | 2 | ||||
-rw-r--r-- | src/server/events/Undo.cpp | 4 |
9 files changed, 14 insertions, 14 deletions
diff --git a/src/server/events/Copy.cpp b/src/server/events/Copy.cpp index 5d2d511c..5ef55012 100644 --- a/src/server/events/Copy.cpp +++ b/src/server/events/Copy.cpp @@ -135,7 +135,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); @@ -161,7 +161,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); @@ -187,7 +187,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 fabdbd85..c31a9ac3 100644 --- a/src/server/events/CreateBlock.cpp +++ b/src/server/events/CreateBlock.cpp @@ -153,7 +153,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 a79c85ef..7092263e 100644 --- a/src/server/events/CreatePort.cpp +++ b/src/server/events/CreatePort.cpp @@ -84,7 +84,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 ad412beb..322db2ab 100644 --- a/src/server/events/Get.cpp +++ b/src/server/events/Get.cpp @@ -44,7 +44,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/Get.hpp b/src/server/events/Get.hpp index 9598010c..4e99d4f2 100644 --- a/src/server/events/Get.hpp +++ b/src/server/events/Get.hpp @@ -46,8 +46,8 @@ public: SampleCount timestamp, const ingen::Get& msg); - bool pre_process(PreProcessContext& ctx) override; - void execute(RunContext& context) override {} + bool pre_process(PreProcessContext&) override; + void execute(RunContext&) override {} void post_process() override; private: diff --git a/src/server/events/Mark.cpp b/src/server/events/Mark.cpp index be943533..edc0377a 100644 --- a/src/server/events/Mark.cpp +++ b/src/server/events/Mark.cpp @@ -72,7 +72,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 1890dc5f..35a508fe 100644 --- a/src/server/events/Move.cpp +++ b/src/server/events/Move.cpp @@ -39,7 +39,7 @@ Move::Move(Engine& engine, } bool -Move::pre_process(PreProcessContext& ctx) +Move::pre_process(PreProcessContext&) { std::lock_guard<Store::Mutex> lock(_engine.store()->mutex()); @@ -67,7 +67,7 @@ Move::pre_process(PreProcessContext& ctx) } void -Move::execute(RunContext& context) +Move::execute(RunContext&) { } diff --git a/src/server/events/SetPortValue.cpp b/src/server/events/SetPortValue.cpp index fa36d739..5052b872 100644 --- a/src/server/events/SetPortValue.cpp +++ b/src/server/events/SetPortValue.cpp @@ -50,7 +50,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()) { diff --git a/src/server/events/Undo.cpp b/src/server/events/Undo.cpp index 0c307e85..171df3ec 100644 --- a/src/server/events/Undo.cpp +++ b/src/server/events/Undo.cpp @@ -41,7 +41,7 @@ Undo::Undo(Engine& engine, {} bool -Undo::pre_process(PreProcessContext& ctx) +Undo::pre_process(PreProcessContext&) { const UPtr<UndoStack>& stack = _is_redo ? _engine.redo_stack() : _engine.undo_stack(); const Event::Mode mode = _is_redo ? Event::Mode::REDO : Event::Mode::UNDO; @@ -70,7 +70,7 @@ Undo::pre_process(PreProcessContext& ctx) } void -Undo::execute(RunContext& context) +Undo::execute(RunContext&) { } |