mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +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);
|
||||
// Something is wrong if right edge comes before left edge
|
||||
wxASSERT(!(rightSel < leftSel));
|
||||
static_cast<void>(leftSel); // Suppress unused variable warnings if not in debug-mode
|
||||
static_cast<void>(rightSel);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user