1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Used the ignoreUnused() function to tidy up some old code

This commit is contained in:
jules 2015-12-23 16:27:50 +00:00
parent 7988190e73
commit 4583fa3fbf
55 changed files with 98 additions and 111 deletions

View file

@ -249,8 +249,7 @@ private:
{
// this is the item they chose in the drop-down list..
const int optionIndexChosen = w.getComboBoxComponent ("option")->getSelectedItemIndex();
(void) optionIndexChosen; // (just avoids a compiler warning about unused variables)
ignoreUnused (optionIndexChosen);
// this is the text they entered..
String text = w.getTextEditorContents ("text");