mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 16:40:07 +02:00
fixed unused variable warnings in SelectHandle.cpp
This commit is contained in:
parent
50901b9454
commit
3ae93e6b4c
@ -411,6 +411,8 @@ UIHandlePtr SelectHandle::HitTest
|
|||||||
wxInt64 rightSel = viewInfo.TimeToPosition(viewInfo.selectedRegion.t1(), rect.x);
|
wxInt64 rightSel = viewInfo.TimeToPosition(viewInfo.selectedRegion.t1(), rect.x);
|
||||||
// Something is wrong if right edge comes before left edge
|
// Something is wrong if right edge comes before left edge
|
||||||
wxASSERT(!(rightSel < leftSel));
|
wxASSERT(!(rightSel < leftSel));
|
||||||
|
static_cast<void>(leftSel); // Suppress unused variable warnings if not in debug-mode
|
||||||
|
static_cast<void>(rightSel);
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user