projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b1d7eab
)
Resolve a few -Wunused-variable warnings in US2400.
author
Ben Loftis
<ben@harrisonconsoles.com>
Sun, 11 Feb 2018 00:12:16 +0000
(18:12 -0600)
committer
Ben Loftis
<ben@harrisonconsoles.com>
Sun, 11 Feb 2018 04:43:53 +0000
(22:43 -0600)
libs/surfaces/us2400/gui.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/us2400/gui.cc
b/libs/surfaces/us2400/gui.cc
index 0f0893c85ff4849d1c2a4f70a8b9005d42e2112d..3d115cbd7b9adf5de9ab73df47e901d99547bca8 100644
(file)
--- a/
libs/surfaces/us2400/gui.cc
+++ b/
libs/surfaces/us2400/gui.cc
@@
-94,7
+94,6
@@
US2400ProtocolGUI::US2400ProtocolGUI (US2400Protocol& p)
, ignore_active_change (false)
{
Gtk::Label* l;
, ignore_active_change (false)
{
Gtk::Label* l;
- Gtk::Alignment* align;
int row = 0;
set_border_width (12);
int row = 0;
set_border_width (12);
@@
-251,7
+250,6
@@
US2400ProtocolGUI::device_dependent_widget ()
int row = 0;
uint32_t n_surfaces = 1 + _cp.device_info().extenders();
int row = 0;
uint32_t n_surfaces = 1 + _cp.device_info().extenders();
- uint32_t main_pos = _cp.device_info().master_position();
dd_table = Gtk::manage (new Gtk::Table (2, n_surfaces));
dd_table->set_row_spacings (4);
dd_table = Gtk::manage (new Gtk::Table (2, n_surfaces));
dd_table->set_row_spacings (4);
@@
-269,7
+267,7
@@
US2400ProtocolGUI::device_dependent_widget ()
int portcount = n_surfaces;
int portcount = n_surfaces;
- for (
u
int32_t n = 0; n < portcount; ++n) {
+ for (int32_t n = 0; n < portcount; ++n) {
boost::shared_ptr<Surface> surface = _cp.nth_surface (n);
boost::shared_ptr<Surface> surface = _cp.nth_surface (n);