diff options
author | David Robillard <d@drobilla.net> | 2020-11-27 17:58:01 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-27 21:42:52 +0100 |
commit | 76e4307c2f57df359651dab61184fd521ffb1fbf (patch) | |
tree | c85f7aafeb55f6e6ee5074a856fb2cdda6019dc1 /src/AlsaDriver.cpp | |
parent | 7240920afeb38fb12f6c0cacb1661b82bf09c1fc (diff) | |
download | patchage-76e4307c2f57df359651dab61184fd521ffb1fbf.tar.gz patchage-76e4307c2f57df359651dab61184fd521ffb1fbf.tar.bz2 patchage-76e4307c2f57df359651dab61184fd521ffb1fbf.zip |
Fix unused parameter warnings
Diffstat (limited to 'src/AlsaDriver.cpp')
-rw-r--r-- | src/AlsaDriver.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp index 9f7b93b..09367cb 100644 --- a/src/AlsaDriver.cpp +++ b/src/AlsaDriver.cpp @@ -133,7 +133,7 @@ AlsaDriver::refresh() continue; } - create_port_view_internal(_app, addr, parent, port); + create_port_view_internal(addr, parent, port); } } @@ -178,11 +178,11 @@ AlsaDriver::refresh() } PatchagePort* -AlsaDriver::create_port_view(Patchage* patchage, const PortID& id) +AlsaDriver::create_port_view(Patchage*, const PortID& id) { PatchageModule* parent = nullptr; PatchagePort* port = nullptr; - create_port_view_internal(patchage, id.id.alsa_addr, parent, port); + create_port_view_internal(id.id.alsa_addr, parent, port); return port; } @@ -228,8 +228,7 @@ AlsaDriver::find_or_create_module(Patchage* patchage, } void -AlsaDriver::create_port_view_internal(Patchage* patchage, - snd_seq_addr_t addr, +AlsaDriver::create_port_view_internal(snd_seq_addr_t addr, PatchageModule*& parent, PatchagePort*& port) { |