Removed unused variable (current_user_level) from FastMeter.

git-svn-id: svn://localhost/ardour2/trunk@1664 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Taybin Rutkin 2007-04-04 12:23:05 +00:00
parent 6532413fa6
commit c971cafbed
3 changed files with 3 additions and 5 deletions

View file

@ -50,7 +50,6 @@ FastMeter::FastMeter (long hold, unsigned long dimen, Orientation o)
hold_state = 0;
current_peak = 0;
current_level = 0;
current_user_level = -100.0f;
set_events (BUTTON_PRESS_MASK|BUTTON_RELEASE_MASK);
@ -413,10 +412,9 @@ FastMeter::horizontal_expose (GdkEventExpose* ev)
}
void
FastMeter::set (float lvl, float usrlvl)
FastMeter::set (float lvl)
{
current_level = lvl;
current_user_level = usrlvl;
if (lvl > current_peak) {
current_peak = lvl;