1
0
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:
andheh 2018-02-15 13:18:03 +01:00 committed by James Crook
parent ade7854c1d
commit dd41df237c

View File

@ -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);
}