diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-10 18:12:16 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-10 22:43:53 -0600 |
commit | 11e50fe0c5f441f8d017529a62ac4c8eeb6403c2 (patch) | |
tree | e892aae82ffe8014ad649899a41514f2957fd18a /libs/surfaces/us2400 | |
parent | b1d7eabf541eb157268e0165ef27160423073f4d (diff) |
Resolve a few -Wunused-variable warnings in US2400.
Diffstat (limited to 'libs/surfaces/us2400')
-rw-r--r-- | libs/surfaces/us2400/gui.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/surfaces/us2400/gui.cc b/libs/surfaces/us2400/gui.cc index 0f0893c85f..3d115cbd7b 100644 --- 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; - Gtk::Alignment* align; 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(); - 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); @@ -269,7 +267,7 @@ US2400ProtocolGUI::device_dependent_widget () int portcount = n_surfaces; - for (uint32_t n = 0; n < portcount; ++n) { + for (int32_t n = 0; n < portcount; ++n) { boost::shared_ptr<Surface> surface = _cp.nth_surface (n); |