mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-06 14:35:32 +01:00
Delete a quantity of unused variables, based on a patch supplied by Campbell Barton
This commit is contained in:
@@ -74,7 +74,6 @@ void AttachableScrollBar::SetViewInfoFromScrollBar()
|
||||
ViewInfo & mViewInfo = *mpViewInfo;
|
||||
|
||||
int hlast = mViewInfo.sbarH;
|
||||
int hoffset = 0;
|
||||
|
||||
mViewInfo.sbarH = GetThumbPosition();
|
||||
|
||||
@@ -85,7 +84,6 @@ void AttachableScrollBar::SetViewInfoFromScrollBar()
|
||||
mViewInfo.h = mViewInfo.total - mViewInfo.screen;
|
||||
if (mViewInfo.h < 0.0)
|
||||
mViewInfo.h = 0.0;
|
||||
hoffset = (mViewInfo.sbarH - hlast);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user