mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-05 11:13:16 +01:00
fixed an unused variable warning in src/LabelTrack.cpp
This commit is contained in:
@@ -2166,6 +2166,7 @@ void LabelTrack::ShowContextMenu()
|
||||
int x = 0;
|
||||
bool success = CalcCursorX(&x);
|
||||
wxASSERT(success);
|
||||
static_cast<void>(success); // Suppress unused variable warning if debug mode is disabled
|
||||
|
||||
parent->PopupMenu(&menu, x, ls->y + (mIconHeight / 2) - 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user