Remove paramPtr unused variable from RadioList

This commit is contained in:
Krisjanis Rijnieks
2018-01-10 20:46:23 +01:00
parent 1800eba9e5
commit 7bbf58d384
-1
View File
@@ -145,7 +145,6 @@ void RadioList::unselectAll(){
int i;
for(i = 0; i < guiGroup.getNumControls(); i++){
ofxToggle * toggle = static_cast <ofxToggle *>(guiGroup.getControl(i));
ofParameter <bool> * paramPtr = static_cast <ofParameter <bool> *>(&toggle->getParameter());
toggle->removeListener(this, &RadioList::onToggleClicked);
*toggle = false;
toggle->addListener(this, &RadioList::onToggleClicked);