mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 08:29:27 +02:00
fixed an unused variable warning in src/LabelTrack.cpp
This commit is contained in:
parent
ade7854c1d
commit
dd41df237c
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user