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:
parent
7988190e73
commit
4583fa3fbf
55 changed files with 98 additions and 111 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue