summaryrefslogtreecommitdiff
path: root/gtk2_ardour/lv2_plugin_ui.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-07-21 15:55:17 +0000
committerCarl Hetherington <carl@carlh.net>2009-07-21 15:55:17 +0000
commitb65f8073ba306ac2d85133875746767e7c6b0eb6 (patch)
tree86e598b4cfe92aa8eaca558b85e1a4c397fa3f0e /gtk2_ardour/lv2_plugin_ui.cc
parentf41149628955fc8145bef6db0c110b71664c0a3a (diff)
Fix some unused parameter warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/lv2_plugin_ui.cc')
-rw-r--r--gtk2_ardour/lv2_plugin_ui.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/lv2_plugin_ui.cc b/gtk2_ardour/lv2_plugin_ui.cc
index 812f2640a7..9605b03ba4 100644
--- a/gtk2_ardour/lv2_plugin_ui.cc
+++ b/gtk2_ardour/lv2_plugin_ui.cc
@@ -32,8 +32,8 @@ void
LV2PluginUI::lv2_ui_write(
LV2UI_Controller controller,
uint32_t port_index,
- uint32_t buffer_size,
- uint32_t format,
+ uint32_t /*buffer_size*/,
+ uint32_t /*format*/,
const void* buffer)
{
LV2PluginUI* me = (LV2PluginUI*)controller;
@@ -60,7 +60,7 @@ LV2PluginUI::parameter_update (uint32_t port_index, float val)
}
bool
-LV2PluginUI::start_updating(GdkEventAny* event)
+LV2PluginUI::start_updating(GdkEventAny*)
{
if (!_output_ports.empty()) {
_screen_update_connection.disconnect();
@@ -71,7 +71,7 @@ LV2PluginUI::start_updating(GdkEventAny* event)
}
bool
-LV2PluginUI::stop_updating(GdkEventAny* event)
+LV2PluginUI::stop_updating(GdkEventAny*)
{
if (!_output_ports.empty()) {
_screen_update_connection.disconnect();
@@ -157,14 +157,14 @@ LV2PluginUI::package (Gtk::Window& win)
}
bool
-LV2PluginUI::configure_handler (GdkEventConfigure* ev)
+LV2PluginUI::configure_handler (GdkEventConfigure*)
{
std::cout << "CONFIGURE" << std::endl;
return false;
}
bool
-LV2PluginUI::is_update_wanted(uint32_t index)
+LV2PluginUI::is_update_wanted(uint32_t /*index*/)
{
/* FIXME this should check the port notification properties, which nobody sets now anyway :) */
return true;