commit 8b4cc9ebbf39ed0752693bf318d90ae37eeaff3b
parent ab564231e0c6e8a0ae3893d6c7dcc87a197d1f38
Author: Hans Petter Selasky <hps@selasky.org>
Date: Wed, 2 Aug 2017 22:50:52 +0200
Remove shadowed variables which are already made public by
the Fl_Osc_Widget class.
Signed-off-by: Hans Petter Selasky <hps@selasky.org>
Diffstat:
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/UI/BankView.cpp b/src/UI/BankView.cpp
@@ -225,8 +225,8 @@ void BankViewControls::mode(int m)
BankView::BankView(int x,int y, int w, int h, const char *label)
- :Fl_Group(x,y,w,h,label), bvc(NULL), slots{0}, osc(0),
- loc(""), nselected(-1), npart(0), cbwig_(0)
+ :Fl_Group(x,y,w,h,label), Fl_Osc_Widget(),
+ bvc(NULL), slots{0}, nselected(-1), npart(0), cbwig_(0)
{}
diff --git a/src/UI/BankView.h b/src/UI/BankView.h
@@ -96,9 +96,6 @@ class BankView: public Fl_Group, public Fl_Osc_Widget
BankViewControls *bvc;
BankSlot *slots[160];
- Fl_Osc_Interface *osc;
- std::string loc;
-
//XXX TODO locked banks...
int nselected;
int *npart;