mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix valgrind warning about uninitialised value
This commit is contained in:
@@ -424,7 +424,7 @@ void CToggleGroup::addToggle(int identifier, CToggleBase* bt)
|
||||
}
|
||||
|
||||
CToggleGroup::CToggleGroup(const CFunctionList<void(int)> &OnChange, bool musicLikeButtons)
|
||||
: onChange(OnChange), musicLike(musicLikeButtons)
|
||||
: onChange(OnChange), musicLike(musicLikeButtons), selectedID(-1)
|
||||
{}
|
||||
|
||||
void CToggleGroup::setSelected(int id)
|
||||
|
||||
Reference in New Issue
Block a user