mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-19 17:40:51 +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;
|
int x = 0;
|
||||||
bool success = CalcCursorX(&x);
|
bool success = CalcCursorX(&x);
|
||||||
wxASSERT(success);
|
wxASSERT(success);
|
||||||
|
static_cast<void>(success); // Suppress unused variable warning if debug mode is disabled
|
||||||
|
|
||||||
parent->PopupMenu(&menu, x, ls->y + (mIconHeight / 2) - 1);
|
parent->PopupMenu(&menu, x, ls->y + (mIconHeight / 2) - 1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user